summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-22 12:03:52 +0200
committerDanilo M. <danix@danix.xyz>2026-04-22 12:03:52 +0200
commit23b9eeba2382ce42cf3217ff3e419e8b5aa7ab12 (patch)
tree87e09683d037af75c47be400ea378dbc2e1c2b98
parent0078ec475cba19fc5a27dca8e186190bdc5ac023 (diff)
downloaddanixxyz-23b9eeba2382ce42cf3217ff3e419e8b5aa7ab12.tar.gz
danixxyz-23b9eeba2382ce42cf3217ff3e419e8b5aa7ab12.zip
fix: normalize repository list page width to match other list pages
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 <noreply@anthropic.com>
-rw-r--r--SHORTCODES.md2
-rw-r--r--themes/danix-xyz-hacker/layouts/repository/list.html6
2 files changed, 3 insertions, 5 deletions
diff --git a/SHORTCODES.md b/SHORTCODES.md
index a7e86c8..7164fe6 100644
--- a/SHORTCODES.md
+++ b/SHORTCODES.md
@@ -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") |
diff --git a/themes/danix-xyz-hacker/layouts/repository/list.html b/themes/danix-xyz-hacker/layouts/repository/list.html
index 2ed6b5f..0ce88c1 100644
--- a/themes/danix-xyz-hacker/layouts/repository/list.html
+++ b/themes/danix-xyz-hacker/layouts/repository/list.html
@@ -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 }}