starters(academic): automatically hide demo sections

This commit is contained in:
Splitter
2023-10-16 00:26:20 +00:00
parent 50a7dfae00
commit 5c96ebac5d
4 changed files with 5 additions and 14 deletions

View File

@@ -21,7 +21,6 @@ removePathAccents: true
module: module:
imports: 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-netlify
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-reveal - path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-reveal
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5 - path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5

View File

@@ -1,11 +1,12 @@
--- ---
# Leave the homepage title empty to use the site title # Leave the homepage title empty to use the site title
title: title: ''
date: 2022-10-24 date: 2022-10-24
type: landing type: landing
sections: sections:
- block: hero - block: hero
demo: true # Only display this section in the Wowchemy demo site
content: content:
title: Hugo Academic Theme title: Hugo Academic Theme
image: image:

View File

@@ -1,8 +0,0 @@
---
# Generate Wowchemy CMS
type: wowchemycms
private: true
outputs:
- wowchemycms_config
- HTML
---

7
go.mod
View File

@@ -3,8 +3,7 @@ module github.com/wowchemy/starter-hugo-academic
go 1.15 go 1.15
require ( 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 v1.0.1-0.20231016002024-b343bdd4a0a3
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 v0.0.0-20231016002024-b343bdd4a0a3
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.20231016002024-b343bdd4a0a3
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5 v5.8.2-0.20230930171149-60baebf4deed
) )