From 9aa110abff2d2b33a8274d6327b84f52bc95d0a3 Mon Sep 17 00:00:00 2001 From: razonyang Date: Sat, 25 Nov 2023 12:26:09 +0800 Subject: [PATCH] feat: add the head-end hook --- layouts/_default/decap-cms.html | 1 + layouts/partials/decap-cms/hooks/head-end.html | 0 2 files changed, 1 insertion(+) create mode 100644 layouts/partials/decap-cms/hooks/head-end.html diff --git a/layouts/_default/decap-cms.html b/layouts/_default/decap-cms.html index affd643..f4220fe 100644 --- a/layouts/_default/decap-cms.html +++ b/layouts/_default/decap-cms.html @@ -8,6 +8,7 @@ {{- with site.Home.OutputFormats.Get "DecapCMSConfig" }} {{- end }} + {{ partialCached "decap-cms/hooks/head-end" . }} diff --git a/layouts/partials/decap-cms/hooks/head-end.html b/layouts/partials/decap-cms/hooks/head-end.html new file mode 100644 index 0000000..e69de29