]> danix's work - danix.xyz-2.git/commitdiff
fix: normalize repository list page width to match other list pages
authorDanilo M. <redacted>
Wed, 22 Apr 2026 10:03:52 +0000 (12:03 +0200)
committerDanilo M. <redacted>
Wed, 22 Apr 2026 10:03:52 +0000 (12:03 +0200)
Changed repository/list.html from max-w-4xl decorative box to max-w-5xl plain wrapper for aesthetic consistency with other pages without sidebars like /articles/. Removed border glow-accent rounded-lg styling and added bg-bg to wrapper to prevent matrix rain showing through card gutters.

Co-Authored-By: Claude Haiku 4.5 <redacted>
SHORTCODES.md
themes/danix-xyz-hacker/layouts/repository/list.html

index a7e86c87e87b1f78496c383376fc6723bd109c7f..7164fe65050b6851a5bb50c4ea2e4ff54bba443d 100644 (file)
@@ -17,7 +17,7 @@ Display an avatar from Gravatar based on an email address hash. This shortcode r
 | Parameter | Required | Description |
 |-----------|----------|-------------|
 | email | Yes | Email address for Gravatar lookup |
-| size | No | Avatar size in pixels (default: 256) |
+| size | No | Avatar size in pixels (default: 256). Internally converted to integer for correct Gravatar API formatting. |
 | alt | No | Alt text for accessibility (default: "User avatar") |
 | class | No | Custom CSS classes (default: "w-32 h-32 rounded-full") |
 
index 2ed6b5fbc5a15a92d7dadb8213297ac88431ee74..0ce88c179bb2ec7a0ae15fe8a0258ffb9b5bcfbd 100644 (file)
@@ -1,6 +1,5 @@
 {{ define "main" }}
-<main class="min-h-screen px-4 py-12">
-  <article class="mx-auto px-4 py-12 max-w-4xl border border-border glow-accent rounded-lg bg-bg p-8">
+<div class="mx-auto px-4 py-12 max-w-5xl bg-bg">
     <!-- Breadcrumb -->
     {{ partial "breadcrumb.html" . }}
 
@@ -72,6 +71,5 @@
         {{ end }}
       </div>
     </section>
-  </article>
-</main>
+</div>
 {{ end }}