mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -06:00
Don't enable reading time and word count by default
This commit is contained in:
parent
3242d892b5
commit
98587c94ae
@ -29,7 +29,7 @@
|
|||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wordcount {
|
.wordcount, .rss-link, .readingtime {
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -41,10 +41,6 @@
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rss-link {
|
|
||||||
margin-left: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 svg.icon {
|
h1 svg.icon {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
|
@ -17,10 +17,19 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
{{ if .Site.Params.wordcount }}
|
||||||
<span class="wordcount">
|
<span class="wordcount">
|
||||||
{{ partial "icon.html" "type" }}
|
{{ partial "icon.html" "type" }}
|
||||||
{{ .WordCount }} words
|
{{ .WordCount }} words
|
||||||
</span>
|
</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">
|
<div class="tags">
|
||||||
{{ range (.GetTerms "tags") }}
|
{{ range (.GetTerms "tags") }}
|
||||||
|
Loading…
Reference in New Issue
Block a user