title support emoji

This commit is contained in:
weibin 2022-03-22 11:19:05 +08:00
parent faa7a679fa
commit 765b28f663

View file

@ -22,7 +22,7 @@
{{- range .Pages -}} {{- range .Pages -}}
<article class="archive-item"> <article class="archive-item">
<a href="{{ .RelPermalink }}" class="archive-item-link"> <a href="{{ .RelPermalink }}" class="archive-item-link">
{{- .Title -}} {{- .Title | emojify -}}
</a> </a>
<span class="archive-item-date"> <span class="archive-item-date">
{{- $.Site.Params.section.dateFormat | default "01-02" | .Date.Format -}} {{- $.Site.Params.section.dateFormat | default "01-02" | .Date.Format -}}