Remove the <ul> and <li> from the blog list
This commit is contained in:
parent
6f132cc04e
commit
b7070ccfd5
3 changed files with 33 additions and 57 deletions
|
|
@ -4,14 +4,12 @@
|
|||
|
||||
{{ define "main" }}
|
||||
{{- range .Pages.ByDate.GroupByDate "2006" -}}
|
||||
<h1 class="date">{{ .Key | title }}</h1>
|
||||
<ul>
|
||||
{{- range .Pages -}}
|
||||
{{- if or (not .Draft) (not hugo.IsProduction) -}}
|
||||
{{- .Render "li_grid_with_date" -}}
|
||||
{{- end -}}
|
||||
<h1 class="date"><a id="{{ .Key }}">{{ .Key | title }}</a></h1>
|
||||
{{- range .Pages -}}
|
||||
{{- if or (not .Draft) (not hugo.IsProduction) -}}
|
||||
{{- .Render "li_grid_with_date" -}}
|
||||
{{- end -}}
|
||||
</ul>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{ end }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue