feat: add admonitions

This commit is contained in:
rxchi1d
2025-12-21 16:40:25 +08:00
committed by ZhenShuo Leo
parent 1fc6058426
commit 775d5b1bbf
18 changed files with 664 additions and 5 deletions

View File

@@ -40,7 +40,7 @@
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Params.Author.email }}<author>{{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Permalink }}</guid>
<description>{{ .Summary | html }}</description>
<description>{{ .Summary | plainify | htmlUnescape | safeHTML }}</description>
{{ range ( where .Site.RegularPages ".RelPermalink" .RelPermalink | first 1 ) }}
{{- $images := .Resources.ByType "image" -}}
{{- $featured := $images.GetMatch "*feature*" -}}