mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-14 02:17:29 -05:00
Add better series taxonomy list and clean up post metadata
This commit is contained in:
18
layouts/partials/post-metadata-short.html
Normal file
18
layouts/partials/post-metadata-short.html
Normal file
@ -0,0 +1,18 @@
|
||||
{{ if or .Date .Params.authors .IsTranslated .Site.Params.readingtime }}
|
||||
<div class="post-metadata">
|
||||
{{ if .Date }}
|
||||
<span class="post-meta-item">
|
||||
{{ partial "icon.html" "calendar" }}
|
||||
<time datetime="{{ .Date.Format "2006-01-02" }}" pubdate>
|
||||
{{ i18n "long_date" (dict "Date" .Date "Data" .Site.Data) }}
|
||||
</time>
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
{{ partial "authors-meta-item.html" . }}
|
||||
{{ partial "translations-meta-item.html" . }}
|
||||
{{ partial "readingtime-meta-item.html" . }}
|
||||
{{ partial "series-meta-item.html" . }}
|
||||
{{ partial "tags-meta-item.html" . }}
|
||||
</div>
|
||||
{{ end }}
|
Reference in New Issue
Block a user