mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-16 08:04:25 -04:00
add hideMeta param to list
- same as in single - allows hiding meta in list pages
This commit is contained in:
parent
75375a4337
commit
bc4d4153dc
1 changed files with 2 additions and 0 deletions
|
@ -44,9 +44,11 @@
|
|||
<p>{{ .Summary | plainify | htmlUnescape }}...</p>
|
||||
</section>
|
||||
{{- end }}
|
||||
{{- if not (.Param "hideMeta") }}
|
||||
<footer class="entry-footer">
|
||||
{{- partial "post_meta.html" . -}}
|
||||
</footer>
|
||||
{{- end }}
|
||||
<a class="entry-link" aria-label="post link to {{ .Title | plainify }}" href="{{ .Permalink }}"></a>
|
||||
</article>
|
||||
{{- end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue