Merge branch 'jpanther:dev' into lazy-load-image-by-default

This commit is contained in:
Tomy Hsieh
2023-05-27 05:17:50 +08:00
committed by GitHub
26 changed files with 3315 additions and 1550 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
{{- $section := .Site.GetPage "section" .Section -}}
{{- $showDate := .Params.showDate | default .Site.Params.article.showDate -}}
{{- $index = $index | append (dict
"date" (cond (and .IsPage $showDate) (.Date | time.Format (.Site.Language.Params.dateFormat | default ":date_long")) nil)
"date" (cond (and .IsPage $showDate) (.Date | time.Format (site.Params.dateFormat | default ":date_long")) nil)
"title" (.Title | emojify | safeJS)
"section" ($section.Title | emojify | safeJS)
"summary" (.Summary | emojify | safeJS)