1
0
hugo/layouts/_default/games.html

35 lines
1.0 KiB
HTML
Raw Normal View History

2024-04-23 13:21:26 +00:00
{{ partial "head.html" . }}
{{ partial "navbar.html" . }}
{{ partial "header.html" . }}
{{ partial "head-sns.html" . }}
<div id="container">
<div class="outer">
<div id="blog-archives" class="category">
<ul class="cp_list">
{{ range $index,$value := .Data.Pages.ByLastmod.Reverse }}
<li class="games">
<img src="{{ .Params.header_image }}"/>
{{ if not $index }}
{{ .Lastmod.Format "2006-01-02" }}<p><a href="{{.Permalink}}" id="fmove" class="lmove">{{.Title}}</a></p>
{{ else }}
{{ .Lastmod.Format "2006-01-02" }}<p><a href="{{.Permalink}}" class="lmove">{{.Title}}</a></p>
{{ end }}
</li>
{{ end }}
</ul>
</div>
{{ $s := path.Dir (.Permalink | relURL) }}
{{ $t := index (split $s "/") 1 }}
{{ if eq $t "tags" }}
{{- range $termName, $index := .Site.Taxonomies.tags }}
<span class="tag"><a href="{{ "/tags/" | relLangURL }}{{ $termName | urlize }}">{{ $termName }}</a></span>
{{- end }}
{{ end }}
</div>
</div>
</div>
{{ partial "footer" . }}
</body>
</html>