rename content/post to content/posts
This commit is contained in:
1 parent
cda4dbb24b
commit
bcd4bc9282
866 files changed
+43
-25
No files matched your search
@@ -5,7 +5,7 @@
|
||||
{{ $currentMonth := 0 }}
|
||||
|
||||
{{/* 过滤文章:类型为 post 且 status 不为 hidden */}}
|
||||
{{ $pages := where (where .Site.RegularPages "Type" "post") "Params.status" "ne" "hidden" }}
|
||||
{{ $pages := where (where .Site.RegularPages "Type" "posts") "Params.status" "ne" "hidden" }}
|
||||
|
||||
{{ range $pages }}
|
||||
{{ $year := .Date.Year }}
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
- 名称:{{ .Site.Params.message_info.name | default .Site.Params.artalk.site }}<br>
|
||||
- 简介:{{ .Site.Params.message_info.description | default .Site.Params.author.description }}<br>
|
||||
- 链接:{{ .Site.Params.message_info.url | default .Site.BaseURL }}<br>
|
||||
- 图标:{{ .Site.Params.message_info.icon | default .Site.Params.author.avatar }}
|
||||
- 图标:{{ .Site.Params.message_info.icon | default .Site.Params.author.avatar }}<br>
|
||||
- 订阅:{{ .Site.BaseURL }}rss.xml
|
||||
</div>
|
||||
</div>
|
||||
<hr class="uk-divider-icon">
|
||||
|
||||
Reference in new issue
Block a user