From 75806cf0339463edead5638bbeba2f69273afaca Mon Sep 17 00:00:00 2001 From: razonyang Date: Fri, 17 Nov 2023 00:53:46 +0800 Subject: [PATCH] feat: add the decap_cms.js_url parameter for specifying script URL fix: replace Netlify CMS script with Decap CMS --- hugo.toml | 1 + layouts/_default/decap-cms.html | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hugo.toml b/hugo.toml index 3694d85..f6fef1b 100644 --- a/hugo.toml +++ b/hugo.toml @@ -10,6 +10,7 @@ notAlternative = true mediaType = "application/yaml" [params.decap_cms] +js_url = "" # local_backend = false publish_mode = "editorial_workflow" media_folder = "static/images/uploads" diff --git a/layouts/_default/decap-cms.html b/layouts/_default/decap-cms.html index 413da81..e7fdf66 100644 --- a/layouts/_default/decap-cms.html +++ b/layouts/_default/decap-cms.html @@ -10,7 +10,6 @@ {{- end }} - - +