mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-12-17 19:44:37 -05: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
@ -44,9 +44,11 @@
|
|||||||
<p>{{ .Summary | plainify | htmlUnescape }}...</p>
|
<p>{{ .Summary | plainify | htmlUnescape }}...</p>
|
||||||
</section>
|
</section>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if not (.Param "hideMeta") }}
|
||||||
<footer class="entry-footer">
|
<footer class="entry-footer">
|
||||||
{{- partial "post_meta.html" . -}}
|
{{- partial "post_meta.html" . -}}
|
||||||
</footer>
|
</footer>
|
||||||
|
{{- end }}
|
||||||
<a class="entry-link" aria-label="post link to {{ .Title | plainify }}" href="{{ .Permalink }}"></a>
|
<a class="entry-link" aria-label="post link to {{ .Title | plainify }}" href="{{ .Permalink }}"></a>
|
||||||
</article>
|
</article>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user