Przeglądaj źródła

Add tags icon to page title

master
Adrian Short 8 lat temu
rodzic
commit
3db489020b
1 zmienionych plików z 1 dodań i 2 usunięć
  1. +1
    -2
      layouts/_default/terms.html

+ 1
- 2
layouts/_default/terms.html Wyświetl plik

@@ -1,6 +1,5 @@
{{ define "main" }}
<h1>Default taxonomy terms template</h1>
<h1>{{ .Title }}</h1>
<h1><i class="fa fa-tags" aria-role="hidden"></i> {{ .Title }}</h1>
<ul class="tag-cloud">
{{ range $name, $taxonomy := .Site.Taxonomies.tags }}
<li><a href="{{ "/tags/" | relURL }}{{ $name | urlize }}/">{{ $name }}&nbsp;({{ $taxonomy.Count}})</a></li>


Ładowanie…
Anuluj
Zapisz