summaryrefslogtreecommitdiffstats
path: root/layouts/_partials/featured-card.html
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-22 12:42:56 +0200
committerDanilo M. <danix@danix.xyz>2026-04-22 12:42:56 +0200
commit631547a75142326a7c71bdf123e1475217a5ad73 (patch)
treef3cfef6b3c5b42bf626fc823ddcf63b8dcf4cdbb /layouts/_partials/featured-card.html
parent77ccbe72fad5a4870185fff374f75471c16a9043 (diff)
downloaddanixxyz-theme-631547a75142326a7c71bdf123e1475217a5ad73.tar.gz
danixxyz-theme-631547a75142326a7c71bdf123e1475217a5ad73.zip
chore: replace with extracted danix.xyz-hacker theme (danix2-hugo-theme)
Diffstat (limited to 'layouts/_partials/featured-card.html')
-rw-r--r--layouts/_partials/featured-card.html23
1 files changed, 0 insertions, 23 deletions
diff --git a/layouts/_partials/featured-card.html b/layouts/_partials/featured-card.html
deleted file mode 100644
index cf2618f..0000000
--- a/layouts/_partials/featured-card.html
+++ /dev/null
@@ -1,23 +0,0 @@
-{{ $page := .page }}
-
-<article class="featured-article">
- {{ if $page.Params.image }}
- <div class="featured-image">
- <img src="{{ $page.Params.image }}" alt="{{ $page.Title }}" loading="lazy">
- </div>
- {{ end }}
-
- <div class="featured-body">
- <div class="featured-header">
- <span class="featured-type-badge" style="color: var(--type-{{ $page.Params.type }});">
- {{ $page.Params.type }}
- </span>
- <span class="featured-date">$ {{ $page.Date.Format "2006-01-02" }}</span>
- </div>
- <h2 class="featured-title">{{ $page.Title }}</h2>
- {{ with $page.Params.description }}
- <p class="featured-excerpt">{{ . }}</p>
- {{ end }}
- <a href="{{ $page.RelPermalink }}" class="featured-link">Read the full article →</a>
- </div>
-</article>