mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 11:46:41 +02:00
Allow icons for tags by setting "tagicons = true" in their config. (#126)
This commit is contained in:

committed by
Michael Noronha

parent
403871be5e
commit
55588aeba1
@@ -23,7 +23,11 @@
|
||||
{{ if not .Site.Params.noreadingtime }}
|
||||
<div class="reading-time middot">{{ .ReadingTime }} minute read</div>
|
||||
{{ end }}
|
||||
<div class="tags">
|
||||
{{ if .Site.Params.tagicons }}
|
||||
<div class="tags tag-icons">
|
||||
{{ else }}
|
||||
<div class="tags">
|
||||
{{ end }}
|
||||
<ul>
|
||||
{{ range .Params.tags }}
|
||||
<li class="middot"><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a> </li>
|
||||
|
Reference in New Issue
Block a user