From 7f05315c1d5f012e1ebbb485a99a7ca2568ba66b Mon Sep 17 00:00:00 2001 From: heheer Date: Wed, 30 Oct 2024 19:04:26 +0800 Subject: [PATCH] add goole tag manager (#3028) --- docSite/layouts/docs/baseof.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docSite/layouts/docs/baseof.html b/docSite/layouts/docs/baseof.html index dc755c68c..51a9ca295 100644 --- a/docSite/layouts/docs/baseof.html +++ b/docSite/layouts/docs/baseof.html @@ -1,6 +1,13 @@ {{ $.Scratch.Delete "social_list" }} {{ $.Scratch.Set "pathName" (printf "%s" (.Site.Params.docs.pathName | default "docs")) }} + + + {{ $social_params := slice "github" "twitter" "instagram" "rss" "wechat" "lark" }} @@ -12,6 +19,10 @@ {{- partial (printf "%s/%s" ($.Scratch.Get "pathName") "head.html") . -}} + + +
{{- partial (printf "%s/%s" ($.Scratch.Get "pathName") "sidebar.html") . -}}