2022-07-26 21:41:07 +08:00
|
|
|
{{ range . }}
|
|
|
|
<div class="collection-year">
|
|
|
|
<span class="collection-header">{{ .Key }}</span>
|
|
|
|
</div>
|
|
|
|
{{ range .Pages }}
|
|
|
|
<article itemscope itemtype="http://schema.org/Article">
|
|
|
|
<header class="post-header">
|
|
|
|
<div class="post-meta-container">
|
2022-07-30 17:39:57 +08:00
|
|
|
{{ $month := .Date.Format .Site.Params.monthFormat }}
|
|
|
|
<time itemprop="dateCreated" datetime="{{ .Date.Format .Site.Params.timeFormat }}" content="{{ $month }}">
|
2022-07-26 21:41:07 +08:00
|
|
|
{{ $month }}
|
|
|
|
</time>
|
|
|
|
</div>
|
|
|
|
<div class="post-title">
|
2023-01-01 21:12:58 +08:00
|
|
|
{{ if isset .Params "extlink" }}
|
2022-07-26 21:41:07 +08:00
|
|
|
<a href="{{ .Params.extlink }}" rel="noopener external nofollow noreferrer" target="_blank" class="exturl post-title-link post-title-link-external" title="">
|
2023-01-01 21:12:58 +08:00
|
|
|
<span itemprop="name">{{ .Title }}</span>
|
2022-07-26 21:41:07 +08:00
|
|
|
<i class="fa fa-external-link-alt"></i>
|
|
|
|
</a>
|
2023-01-01 21:12:58 +08:00
|
|
|
{{ else }}
|
2022-08-02 18:42:33 +08:00
|
|
|
<a class="post-title-link" href="{{ .RelPermalink | relLangURL }}" itemprop="url">
|
2022-07-26 21:41:07 +08:00
|
|
|
<span itemprop="name">{{ .Title }}</span>
|
|
|
|
</a>
|
2023-01-01 21:12:58 +08:00
|
|
|
{{ end }}
|
2022-07-26 21:41:07 +08:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
</article>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|