diff options
| author | Danilo M. <danix@danix.xyz> | 2026-06-26 18:13:36 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-06-26 18:13:36 +0200 |
| commit | 9073908fb5e33c895b162d0418d6e67246af539e (patch) | |
| tree | d8beaa5f5c58eacee91870af7a7cdcc94b2fff7a /layouts/slackware | |
| parent | 91eeea0d6b61b652a0bc3b16a137609da59da69f (diff) | |
| parent | 9244ad0666c4859569801508348fa83c6e4648f4 (diff) | |
| download | danixxyz-theme-9073908fb5e33c895b162d0418d6e67246af539e.tar.gz danixxyz-theme-9073908fb5e33c895b162d0418d6e67246af539e.zip | |
Merge slackware-projects: project pages, submenu, image roles
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'layouts/slackware')
| -rw-r--r-- | layouts/slackware/list.html | 28 | ||||
| -rw-r--r-- | layouts/slackware/single.html | 17 |
2 files changed, 45 insertions, 0 deletions
diff --git a/layouts/slackware/list.html b/layouts/slackware/list.html new file mode 100644 index 0000000..ac89356 --- /dev/null +++ b/layouts/slackware/list.html @@ -0,0 +1,28 @@ +{{ define "main" }} +<section class="mx-auto px-4 py-12 max-w-7xl"> + <div class="content-grid"> + {{ partial "breadcrumb.html" . }} + + <div class="mb-10"> + <h1 class="text-5xl md:text-6xl font-bold mb-4 text-accent font-oxanium animate-fade-in"> + {{ i18n "slackwareTitle" }} + </h1> + <p class="text-xl text-text-dim animate-fade-in-delay"> + {{ i18n "slackwareSubtitle" }} + </p> + </div> + + {{ with .Content }} + <div class="prose dark:prose-invert max-w-none mb-12"> + {{ . }} + </div> + {{ end }} + + <div class="flex flex-col gap-8"> + {{ range $index, $p := .Pages }} + {{ partial "project-row.html" (dict "page" $p "index" $index) }} + {{ end }} + </div> + </div> +</section> +{{ end }} diff --git a/layouts/slackware/single.html b/layouts/slackware/single.html new file mode 100644 index 0000000..6efb3e2 --- /dev/null +++ b/layouts/slackware/single.html @@ -0,0 +1,17 @@ +{{ define "main" }} +<article class="mx-auto px-4 py-12 max-w-7xl"> + <div class="content-grid"> + {{ partial "breadcrumb.html" . }} + + {{ partial "project-header.html" . }} + + <div class="prose dark:prose-invert max-w-none mb-12"> + {{ .Content }} + </div> + + <div class="mb-12"> + {{ partial "social-share.html" (dict "page" . "mode" "inline") }} + </div> + </div> +</article> +{{ end }} |
