🔧 Re Change default section display not use archive page.

This commit is contained in:
凡梦星尘
2022-07-30 17:39:57 +08:00
parent 832953372a
commit 6cbffe48b7
10 changed files with 95 additions and 56 deletions

View File

@@ -6,8 +6,8 @@
<article itemscope itemtype="http://schema.org/Article">
<header class="post-header">
<div class="post-meta-container">
{{ $month := .Date.Format "01-02" }}
<time itemprop="dateCreated" datetime="{{ .Date.Format "2006-01-02T15:04:05-07:00" }}" content="{{ $month }}">
{{ $month := .Date.Format .Site.Params.monthFormat }}
<time itemprop="dateCreated" datetime="{{ .Date.Format .Site.Params.timeFormat }}" content="{{ $month }}">
{{ $month }}
</time>
</div>