mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-17 00:15:51 +00:00
🐛 fixed likes and view counters for taxonomies and terms
This commit is contained in:
1 parent
516988a317
commit
7049775470
5 files changed
+17
-5
No files matched your search
@@ -1,5 +1,11 @@
|
||||
<span>
|
||||
{{ if eq .Kind "taxonomy"}}
|
||||
<span id="views_taxonomy_{{ .Page.Data.Plural }}" title="views">0</span>
|
||||
{{ else if eq .Kind "term"}}
|
||||
<span id="views_term_{{ .Page.Data.Term }}" title="views">0</span>
|
||||
{{ else }}
|
||||
<span id="views_{{ .File.Path }}" title="views">0</span>
|
||||
{{ end }}
|
||||
<span class="inline-block align-text-bottom">{{ partial "icon.html" "eye" }}</span>
|
||||
</span>
|
||||
{{- /* Trim EOF */ -}}
|
||||
Reference in new issue
Block a user