mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-11-03 18:27:55 -06:00 
			
		
		
		
	Don't enable reading time and word count by default
This commit is contained in:
		@@ -29,7 +29,7 @@
 | 
			
		||||
  margin-top: 5px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.wordcount {
 | 
			
		||||
.wordcount, .rss-link, .readingtime {
 | 
			
		||||
  margin-left: 5px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -41,10 +41,6 @@
 | 
			
		||||
  white-space: nowrap;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.rss-link {
 | 
			
		||||
  margin-left: 5px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
h1 svg.icon {
 | 
			
		||||
  width: 30px;
 | 
			
		||||
  height: 30px;
 | 
			
		||||
 
 | 
			
		||||
@@ -17,10 +17,19 @@
 | 
			
		||||
        {{ end }}
 | 
			
		||||
    </span>
 | 
			
		||||
 | 
			
		||||
    {{ if .Site.Params.wordcount }}
 | 
			
		||||
    <span class="wordcount">
 | 
			
		||||
        {{ partial "icon.html" "type" }}
 | 
			
		||||
        {{ .WordCount }} words
 | 
			
		||||
    </span>
 | 
			
		||||
    {{ end }}
 | 
			
		||||
 | 
			
		||||
    {{ if .Site.Params.readingtime }}
 | 
			
		||||
    <span class="readingtime">
 | 
			
		||||
        {{ partial "icon.html" "clock" }}
 | 
			
		||||
        {{ .ReadingTime }} {{ if gt .ReadingTime 1 }} mins {{ else }} min {{ end }}
 | 
			
		||||
    </span>
 | 
			
		||||
    {{ end }}
 | 
			
		||||
 | 
			
		||||
    <div class="tags">
 | 
			
		||||
        {{ range (.GetTerms "tags") }}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user