From e222ce8f57a4982d2836a4ced9f3d29991a45bc9 Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Wed, 17 Dec 2025 14:52:18 +0800 Subject: feat: add microformats --- config/_default/params.yaml | 1 + layouts/_partials/components/microformats.html | 7 +++++++ layouts/baseof.html | 3 ++- 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 layouts/_partials/components/microformats.html diff --git a/config/_default/params.yaml b/config/_default/params.yaml index 538d4450..41ca6929 100644 --- a/config/_default/params.yaml +++ b/config/_default/params.yaml @@ -1,6 +1,7 @@ author: email: hi@guhub.cn name: Eltrac + avatar: https://image.guhub.cn/uPic/2025/12/once-drowned-koala-king.jpg email: hi@guhub.cn mainSections: - essays diff --git a/layouts/_partials/components/microformats.html b/layouts/_partials/components/microformats.html new file mode 100644 index 00000000..0cccd3c1 --- /dev/null +++ b/layouts/_partials/components/microformats.html @@ -0,0 +1,7 @@ + diff --git a/layouts/baseof.html b/layouts/baseof.html index f81300e2..5a908711 100644 --- a/layouts/baseof.html +++ b/layouts/baseof.html @@ -2,7 +2,8 @@ {{ partial "head.html" . }} - {{ partial "components/svg-filters.html" . }} + {{ partial "components/svg-filters" . }} + {{ partial "components/microformats" . }}
{{ block "main" . }}{{ end }} {{ partial "components/shade-mask" . }} -- cgit v1.2.3