Skip to content

Commit

Permalink
add hideMeta param to list
Browse files Browse the repository at this point in the history
- same as in single
- allows hiding meta in list pages
  • Loading branch information
adityatelange committed Jan 24, 2021
1 parent 75375a4 commit bc4d415
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ <h2>
<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 }}
Expand Down

0 comments on commit bc4d415

Please sign in to comment.