mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-11-04 02:37:54 -06:00 
			
		
		
		
	Make comments toggleable, remove word count, and give tags some space
This commit is contained in:
		@@ -3,6 +3,7 @@
 | 
			
		||||
title: {{ replace .Name "-" " " | title }}
 | 
			
		||||
date: {{ .Date | time.Format "2006-01-02" }}
 | 
			
		||||
toc: true
 | 
			
		||||
comments: true
 | 
			
		||||
draft: true
 | 
			
		||||
 | 
			
		||||
tags:
 | 
			
		||||
 
 | 
			
		||||
@@ -3,6 +3,7 @@
 | 
			
		||||
title: {{ replace .Name "-" " " | title }}
 | 
			
		||||
menu: main
 | 
			
		||||
toc: true
 | 
			
		||||
comments: false
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -26,6 +26,10 @@
 | 
			
		||||
  margin-bottom: 15px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.tags {
 | 
			
		||||
  margin-top: 10px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.post-media {
 | 
			
		||||
  margin-top: 15px;
 | 
			
		||||
  display: inline-block;
 | 
			
		||||
 
 | 
			
		||||
@@ -41,6 +41,8 @@
 | 
			
		||||
</div>
 | 
			
		||||
{{ end }}
 | 
			
		||||
 | 
			
		||||
{{ if .Params.comments }}
 | 
			
		||||
{{ partial "comments.html" . }}
 | 
			
		||||
{{ end }}
 | 
			
		||||
 | 
			
		||||
{{ end }}
 | 
			
		||||
 
 | 
			
		||||
@@ -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" }}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user