diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-22 12:42:56 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-22 12:42:56 +0200 |
| commit | 631547a75142326a7c71bdf123e1475217a5ad73 (patch) | |
| tree | f3cfef6b3c5b42bf626fc823ddcf63b8dcf4cdbb /layouts/section.html | |
| parent | 77ccbe72fad5a4870185fff374f75471c16a9043 (diff) | |
| download | danixxyz-theme-631547a75142326a7c71bdf123e1475217a5ad73.tar.gz danixxyz-theme-631547a75142326a7c71bdf123e1475217a5ad73.zip | |
chore: replace with extracted danix.xyz-hacker theme (danix2-hugo-theme)
Diffstat (limited to 'layouts/section.html')
| -rw-r--r-- | layouts/section.html | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/layouts/section.html b/layouts/section.html deleted file mode 100644 index d817087..0000000 --- a/layouts/section.html +++ /dev/null @@ -1,40 +0,0 @@ -{{ define "main" }} - {{ if eq .Type "articles" }} - <!-- Articles Section with Timeline --> - <div class="page-header"> - <h1>{{ .Title }}</h1> - <div class="filter-buttons"> - <button class="filter-btn active" data-filter="all">All</button> - <button class="filter-btn" data-filter="tech">Tech</button> - <button class="filter-btn" data-filter="life">Life</button> - <button class="filter-btn" data-filter="quote">Quote</button> - <button class="filter-btn" data-filter="link">Link</button> - <button class="filter-btn" data-filter="photo">Photo</button> - </div> - </div> - - {{ $featured := (.Pages.ByDate.Reverse) }} - {{ if and $featured (index $featured 0).Params.featured }} - {{ partial "featured-card.html" (dict "page" (index $featured 0)) }} - {{ end }} - - <section class="timeline-section"> - <div class="timeline-line"></div> - <div class="timeline-feed"> - {{ $pages := .Pages.ByDate.Reverse }} - {{ range $index, $page := $pages }} - {{ partial "timeline-item.html" (dict "page" $page "index" $index) }} - {{ end }} - </div> - </section> - - {{ $filters := resources.Get "js/filters.js" | fingerprint }} - <script defer src="{{ $filters.RelPermalink }}"></script> - - {{ else }} - <!-- Static Section (is/about, is/contact, etc.) --> - <div class="container-narrow" style="padding-top: 2rem;"> - {{ .Content }} - </div> - {{ end }} -{{ end }} |
