summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-04-22 14:11:34 +0800
committerReorx <novoreorx@gmail.com>2022-04-22 14:11:34 +0800
commit6aea4be5fad77917ce1203a371b58a6139c3530a (patch)
tree0c2e95f99d27f0097478c0f7344a3f293bedb76a /layouts/_default/single.html
parent4d93247e53eadc672416f33429c5af0ff334e5e8 (diff)
refactor post meta, use svg icons for identifier
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html20
1 files changed, 3 insertions, 17 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 0a5f5bf..32bc143 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -14,24 +14,10 @@
{{- end }}
{{- if not (.Param "hideMeta") }}
<div class="post-meta">
- {{- if not .Date.IsZero -}}
- <span>{{ .Date | time.Format (default "January 2, 2006" site.Params.DateFormat) }}</span>
- <span class="delimiter">&nbsp;·&nbsp;</span>
- {{- end }}
-
- {{- if .Params.tags }}
- <span class="post-tags">
- {{- range ($.GetTerms "tags") -}}
- <a href="{{ .Permalink }}">{{ .LinkTitle }}</a>
- {{- end -}}
- </span>
- <span class="delimiter">&nbsp;·&nbsp;</span>
- {{- end }}
-
{{- partial "post_meta.html" . -}}
- {{- partial "translation_list.html" . -}}
- {{- partial "edit_post.html" . -}}
- {{- partial "post_canonical.html" . -}}
+ {{/* TODO move to footer */}}
+ {{/* partial "edit_post.html" . */}}
+ {{/* partial "post_canonical.html" . */}}
</div>
{{- end }}
</header>