35 lines
840 B
HTML
35 lines
840 B
HTML
<div id="container">
|
|
<div class="outer">
|
|
<div id="blog-archives" class="category">
|
|
<ul class="cp_list">
|
|
{{ range .Data.Pages }}
|
|
{{ $t := index (split .Permalink "/") 3 }}
|
|
|
|
{{ if or (eq $t "blog") }}
|
|
{{ range $index,$value := first 7 (where $.Site.RegularPages.ByDate.Reverse "Section" "blog") }}
|
|
<li class="blog-list">
|
|
<a href="{{.Permalink}}">{{.Title}}</a> <span class="blog-date">{{ .Date.Local.Format "2006-01-02" }}</span>
|
|
</li>
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{ if or (eq $t "chara") (eq $t "story") (eq $t "card") (eq $t "vrm") }}
|
|
|
|
<li class="top">
|
|
<a href="{{.Permalink}}">{{.Title}}</a>
|
|
</li>
|
|
|
|
{{ if or (eq $t "card") }}
|
|
{{ .Content }}
|
|
{{ else }}
|
|
{{ .Summary }}
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|