mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-25 07:28:34 +00:00
efb650245f
WARNING: UPGRADE HUGO TO VERSION 0.54.0 OR LATER * post_thumbnail -> post_featured * Add url, alt, caption and credit params for featured * Add previewOnly param * Add styles for featured * Add fallback for thumbnail.* * Add "Featured Images" page * Show caption & credit on single pages only * Update README: add featured image guide * Bump Hugo min version because `reflect.IsMap` [0.38 -> 0.54.0]
8 lines
No EOL
380 B
HTML
8 lines
No EOL
380 B
HTML
<article class="post card__box block">
|
|
{{- partial "post_featured.html" (dict "page" . "link" .RelPermalink) }}
|
|
<h1 class="post__title title-excerpt"><a class="post__title-link" href="{{ .RelPermalink }}">{{ .Title }}</a></h1>
|
|
{{- with .Summary }}
|
|
<div class="post__content">{{ . }}</div>
|
|
{{- end }}
|
|
{{- partial "post_meta.html" (dict "dot" . "class" "mt tar") }}
|
|
</article> |