Updated hugo site
This commit is contained in:
@@ -1,15 +1,10 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
{{ $chapters := where .Site.AllPages "Params.tags" .Params.tags }}
|
||||
|
||||
{{ range sort $chapters "Params.chapterno" "asc" }}
|
||||
{{ if ne .Params.chapterno "00" }}
|
||||
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
||||
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
{{ $chapters := where .Site.AllPages "Params.tags" .Params.tags }}
|
||||
{{ range sort $chapters "Params.chapterno" "asc" }}
|
||||
{{ if gt .Params.chapterno 0 }}
|
||||
<li><a href="{{ .Permalink }}">{{ .Params.chapterno }}. {{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user