From 5c96ebac5d9d0abbae535bc787aebd506eedfc5c Mon Sep 17 00:00:00 2001 From: Splitter Date: Mon, 16 Oct 2023 00:26:20 +0000 Subject: [PATCH] starters(academic): automatically hide demo sections --- config/_default/config.yaml | 1 - content/_index.md | 3 ++- content/admin/index.md | 8 -------- go.mod | 7 +++---- 4 files changed, 5 insertions(+), 14 deletions(-) delete mode 100644 content/admin/index.md diff --git a/config/_default/config.yaml b/config/_default/config.yaml index 58bfbdc..a067991 100644 --- a/config/_default/config.yaml +++ b/config/_default/config.yaml @@ -21,7 +21,6 @@ removePathAccents: true module: imports: - - path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify-cms - path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify - path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-reveal - path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5 diff --git a/content/_index.md b/content/_index.md index c985791..a25b45a 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,11 +1,12 @@ --- # Leave the homepage title empty to use the site title -title: +title: '' date: 2022-10-24 type: landing sections: - block: hero + demo: true # Only display this section in the Wowchemy demo site content: title: Hugo Academic Theme image: diff --git a/content/admin/index.md b/content/admin/index.md deleted file mode 100644 index 2729ebd..0000000 --- a/content/admin/index.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -# Generate Wowchemy CMS -type: wowchemycms -private: true -outputs: - - wowchemycms_config - - HTML ---- diff --git a/go.mod b/go.mod index 21181cc..05d796e 100644 --- a/go.mod +++ b/go.mod @@ -3,8 +3,7 @@ module github.com/wowchemy/starter-hugo-academic go 1.15 require ( - github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify v1.0.0 // indirect - github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify-cms v1.0.0 // indirect - github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-reveal v1.0.0 // indirect - github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5 v5.8.2-0.20230930171149-60baebf4deed + github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify v1.0.1-0.20231016002024-b343bdd4a0a3 + github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-reveal v0.0.0-20231016002024-b343bdd4a0a3 + github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5 v5.8.2-0.20231016002024-b343bdd4a0a3 )