From 55e51506c09147f424e10b0e66a39aa7f9ae051f Mon Sep 17 00:00:00 2001 From: Razon Yang Date: Fri, 22 Mar 2024 23:21:54 +0800 Subject: [PATCH] feat: add the meta* page parameters (#725) --- layouts/partials/hb/modules/blog/single.html | 23 +++++++++++++++----- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/layouts/partials/hb/modules/blog/single.html b/layouts/partials/hb/modules/blog/single.html index a73943d4..f051700c 100644 --- a/layouts/partials/hb/modules/blog/single.html +++ b/layouts/partials/hb/modules/blog/single.html @@ -5,12 +5,23 @@

{{ .Title }}

- + {{- $meta := default dict .Params.meta }} + {{- if ne $meta false }} + + {{- end }} {{- with .Description }}
{{ . }}
{{- end }}