Sort tags name, and remove useless page

This commit is contained in:
Danila Fedorin 2019-08-02 23:38:03 -07:00
parent 6cfb217143
commit 607df97bdf
2 changed files with 1 additions and 11 deletions

View File

@ -1,10 +0,0 @@
{{ define "main" }}
<h2>{{ .Title }}</h2>
{{ .Content }}
<ul>
{{ range .Pages }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
{{ end }}

View File

@ -3,7 +3,7 @@
Below is a list of all the tags ever used on this site. Below is a list of all the tags ever used on this site.
<ul> <ul>
{{ range .Pages }} {{ range sort .Pages "Title" }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li> <li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }} {{ end }}
</ul> </ul>