diff options
author | amzrk2 | 2020-05-06 20:30:07 +0800 |
---|---|---|
committer | amzrk2 | 2020-05-06 20:30:07 +0800 |
commit | 41ef0bdcde0534402d430185052f4c553144487c (patch) | |
tree | 6e2142599e315395afbd71d09585d06c902683eb /layouts/partials/post-meta.html | |
parent | 11639966566927a4616748c71c7c708a63d9d2b1 (diff) | |
download | hugo-theme-fuji-41ef0bdcde0534402d430185052f4c553144487c.tar.gz hugo-theme-fuji-41ef0bdcde0534402d430185052f4c553144487c.tar.bz2 hugo-theme-fuji-41ef0bdcde0534402d430185052f4c553144487c.zip |
General template fix
Diffstat (limited to 'layouts/partials/post-meta.html')
-rw-r--r-- | layouts/partials/post-meta.html | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/layouts/partials/post-meta.html b/layouts/partials/post-meta.html index 4864808..f208210 100644 --- a/layouts/partials/post-meta.html +++ b/layouts/partials/post-meta.html @@ -1,15 +1,9 @@ -<span> - <time datetime="{{ .Date }}">{{ .Date.Format "2006-01-02" }}</time> | -</span> -<span> - <span>{{ .WordCount }}{{ i18n "postMetaWordCount" }}</span> | -</span> -<span> - {{ if .Params.tags }} - {{ range .Params.tags }} - <a href="/tags/{{ . | urlize }}/">{{ . }}</a> - {{ end }} - {{ else }} - <span>{{ i18n "postMetaNoTag" }}</span> - {{ end }} -</span>
\ No newline at end of file +<time datetime="{{ .Date }}">{{ .Date.Format "2006-01-02" }}</time> | +<span>{{ .WordCount }}{{ i18n "postMetaWordCount" }}</span> | +{{ if .Params.tags }} +{{ range .Params.tags }} +<a href="/tags/{{ . | urlize }}/">{{ . }}</a> +{{ end }} +{{ else }} +<span>{{ i18n "postMetaNoTag" }}</span> +{{ end }}
\ No newline at end of file |