Browse Source

Add tags icon to page title

master
Adrian Short 7 years ago
parent
commit
3db489020b
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      layouts/_default/terms.html

+ 1
- 2
layouts/_default/terms.html View File

@@ -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>


Loading…
Cancel
Save