fixed homepage list issue
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
<h4 id="tag_{{ .Title }}">
|
||||
{{ if not .IsHome }} {{ .Params.description }} {{ end }}
|
||||
</h4>
|
||||
|
||||
</header>
|
||||
<article>
|
||||
{{ block "main" . }}
|
||||
|
@@ -3,6 +3,7 @@
|
||||
{{- end }}
|
||||
{{ define "main" -}}
|
||||
{{ .Content }}
|
||||
{{ if not .IsHome }}
|
||||
<ul>
|
||||
{{- range.Pages }}
|
||||
<li>
|
||||
@@ -15,3 +16,4 @@
|
||||
{{- end }}
|
||||
</ul>
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user