add hideMeta param to list

- same as in single
- allows hiding meta in list pages
This commit is contained in:
Aditya Telange 2021-01-24 18:05:00 +05:30
parent 75375a4337
commit bc4d4153dc
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

View File

@ -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 }}