Sort tags name, and remove useless page
This commit is contained in:
parent
6cfb217143
commit
607df97bdf
|
@ -1,10 +0,0 @@
|
||||||
{{ define "main" }}
|
|
||||||
<h2>{{ .Title }}</h2>
|
|
||||||
{{ .Content }}
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
{{ range .Pages }}
|
|
||||||
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
|
|
||||||
{{ end }}
|
|
||||||
</ul>
|
|
||||||
{{ end }}
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user