Welcome to mirror list, hosted at ThFree Co, Russian Federation.

post-metadata-single.html « partials « layouts - github.com/mikeblum/hugo-now.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6cd9c1088629f6ddb63e0924de2bf1b5b256ab4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<h1 class="title"><a href="{{ .Permalink }}">{{ .Title }}</a>{{ if .Draft }} ::Draft{{ end }} 
    <small class="text-muted pull-right">{{ .Date.Format "January 1, 2006" }}</small>
</h1>
<div class="post-metadata">
    {{ if (ne ($.Param "displayauthor") false) }}
        <small class="text-muted">by {{ .Params.author | default .Site.Params.author }}</small>
    {{ end }}
    <p class="text-muted"></p>
    {{ if .Params.tags }}
        {{ partial "tags" .Params.tags }}
    {{ end }}
</div>