mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-20 09:32:19 +01:00
added the ability to remove the date and author from a post
This commit is contained in:
parent
ce91352dd5
commit
4799b09530
@ -59,7 +59,9 @@
|
||||
<article class="blog-post">
|
||||
<header>
|
||||
<h2 class="blog-post-title"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h2>
|
||||
{{ if ne .Params.showmeta false }}
|
||||
<p class="blog-post-meta"><time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format $dateFormat }}</time> by {{ .Params.author | default .Site.Params.author }}{{ if or (.Params.categories) (.Params.tags) }} in {{ partial "meta-terms.html" . }}{{ end }}</p>
|
||||
{{ end }}
|
||||
</header>
|
||||
{{ .Content }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user