diff options
Diffstat (limited to 'layouts/_partials/featured-card.html')
| -rw-r--r-- | layouts/_partials/featured-card.html | 23 |
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> |
