2024-04-05 08:44:02 +00:00
|
|
|
<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") }}
|
|
|
|
<li class="top">
|
|
|
|
<a href="{{.Permalink}}">blog</a>
|
|
|
|
</li>
|
2024-04-05 08:46:22 +00:00
|
|
|
|
|
|
|
{{ range $index,$value := (where $.Site.RegularPages.ByDate.Reverse "Section" "blog") }}
|
|
|
|
{{ 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>
|
2024-04-05 08:44:02 +00:00
|
|
|
{{ end }}
|
2024-04-05 08:46:22 +00:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
<li class="blog-menu"><button onclick="blog_list_open();"><i class="fa-solid fa-bars"></i></button></li>
|
2024-04-05 08:44:02 +00:00
|
|
|
{{ 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>
|