Make comments toggleable, remove word count, and give tags some space

This commit is contained in:
BBaoVanC 2021-10-23 23:24:05 -05:00
parent cb68e3cffd
commit e0f04cb279
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
5 changed files with 8 additions and 7 deletions

View File

@ -3,6 +3,7 @@
title: {{ replace .Name "-" " " | title }}
date: {{ .Date | time.Format "2006-01-02" }}
toc: true
comments: true
draft: true
tags:

View File

@ -3,6 +3,7 @@
title: {{ replace .Name "-" " " | title }}
menu: main
toc: true
comments: false
---

View File

@ -26,6 +26,10 @@
margin-bottom: 15px;
}
.tags {
margin-top: 10px;
}
.post-media {
margin-top: 15px;
display: inline-block;

View File

@ -41,6 +41,8 @@
</div>
{{ end }}
{{ if .Params.comments }}
{{ partial "comments.html" . }}
{{ end }}
{{ end }}

View File

@ -29,13 +29,6 @@
</span>
{{ end }}
{{ if ne .Site.Params.wordcount false }}
<span class="post-meta-item">
{{ partial "icon.html" "type" }}
{{ i18n "wordcount" .WordCount }}
</span>
{{ end }}
{{ if ne .Site.Params.readingtime false }}
<span class="post-meta-item">
{{ partial "icon.html" "clock" }}