diff options
-rw-r--r-- | exampleSite/config.toml | 1 | ||||
-rw-r--r-- | layouts/_default/terms.html | 7 |
2 files changed, 2 insertions, 6 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 38e85d1..7147426 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -5,7 +5,6 @@ theme = "hugo-xmin" googleAnalytics = "" disqusShortname = "" ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"] -preserveTaxonomyNames = true footnotereturnlinkcontents = "↩" [permalinks] diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 09b3785..1b515a5 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -3,12 +3,9 @@ <h1>{{ .Title }}</h1> <ul class="terms"> - {{ range $key, $value := .Data.Terms }} + {{ range .Data.Terms }} <li> - <a href="{{ (print "/" $.Data.Plural "/" $key | urlize) | relURL }}"> - {{ $key }} - </a> - ({{ len $value }}) + <a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> ({{ .Count }}) </li> {{ end }} </ul> |