fix
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
</li>
|
||||
|
||||
{{ range $index,$value := (where $.Site.RegularPages.ByDate.Reverse "Section" "blog") }}
|
||||
{{ if lt $index 5 }}
|
||||
{{ if lt $index 1 }}
|
||||
<li class="blog-list-first" style="display:block;"> <a href="{{.Permalink}}">{{.Title}}</a> <span class="blog-date">{{ .Date.Local.Format "2006-01-02" }}</span> </li>
|
||||
{{ else }}
|
||||
<li class="blog-list-all" style="display:none;"> <a href="{{.Permalink}}">{{.Title}}</a> <span class="blog-date">{{ .Date.Local.Format "2006-01-02" }}</span> </li>
|
||||
|
Reference in New Issue
Block a user