diff --git a/starters/blog/config/_default/config.yaml b/starters/blog/config/_default/config.yaml index 7889e38f..d0f7dc21 100644 --- a/starters/blog/config/_default/config.yaml +++ b/starters/blog/config/_default/config.yaml @@ -4,10 +4,10 @@ # This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/ title: Hugo Academic Blog Theme # Website name -baseurl: 'https://example.com/' # Website URL +baseURL: 'https://example.com/' # Website URL ############################ -## Page options +## PAGE OPTIONS ############################ cascade: diff --git a/starters/documentation/config/_default/config.yaml b/starters/documentation/config/_default/config.yaml index f73e908f..7591628f 100644 --- a/starters/documentation/config/_default/config.yaml +++ b/starters/documentation/config/_default/config.yaml @@ -4,8 +4,18 @@ # This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/ title: 'My Project' # Website name -baseurl: '' # Website URL -copyright: '' # Footer text, e.g. '© {year} Me' +baseURL: 'https://example.com/' # Website URL + +############################ +## PAGE OPTIONS +############################ + +cascade: + # Docs folder options + - _target: + path: /docs/** + editable: true + show_breadcrumb: true ############################ ## LANGUAGE @@ -22,8 +32,8 @@ removePathAccents: true module: imports: - - path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms - - path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy + - path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 + - path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 ############################ ## ADVANCED @@ -44,16 +54,6 @@ disableAliases: true outputs: home: [HTML, RSS, JSON, WebAppManifest, headers, redirects] section: [HTML, RSS] -markup: - defaultMarkdownHandler: goldmark - goldmark: - renderer: - unsafe: true - highlight: - codeFences: false - tableOfContents: - startLevel: 2 - endLevel: 3 imaging: resampleFilter: lanczos quality: 75 @@ -63,6 +63,8 @@ taxonomies: tag: tags category: categories author: authors +markup: + _merge: deep related: threshold: 80 includeNewer: true @@ -72,3 +74,7 @@ related: weight: 100 - name: categories weight: 70 +security: + _merge: deep +sitemap: + _merge: deep diff --git a/starters/documentation/config/_default/params.yaml b/starters/documentation/config/_default/params.yaml index 37ea04cd..713449f2 100644 --- a/starters/documentation/config/_default/params.yaml +++ b/starters/documentation/config/_default/params.yaml @@ -5,87 +5,84 @@ # Appearance -theme: minimal -day_night: true -font: '' -font_size: L +appearance: + theme_day: minimal + theme_night: minimal + font: minimal + font_size: L # SEO -site_type: Project -local_business_type: '' -org_name: '' -description: 'My project documentation.' -twitter: '' +marketing: + seo: + site_type: Project + local_business_type: '' + org_name: '' + description: 'A highly-customizable Hugo documentation theme powered by Wowchemy website builder.' + twitter: 'wowchemy' + analytics: + google_analytics: '' + baidu_tongji: '' + verification: + google: '' + baidu: '' # Site header -main_menu: - enable: true - align: l - show_logo: true - show_language: false - show_day_night: true - show_search: true - highlight_active_link: true +header: + navbar: + enable: true + align: l + show_logo: true + show_language: false + show_day_night: true + show_search: true + highlight_active_link: true + +footer: + copyright: + notice: '© {year} Me. This work is licensed under {license}' + license: + enable: true + allow_derivatives: false + share_alike: true + allow_commercial: false # Localization -date_format: 'Jan 2, 2006' -time_format: '3:04 PM' +locale: + date_format: 'Jan 2, 2006' + time_format: '3:04 PM' # Site features -highlight: false -math: false -diagram: false -privacy_pack: false -edit_page: - repo_url: '' - content_dir: '' - repo_branch: main - editable: - book: false -show_related: - book: true -sharing_image: '' -reading_time: true -section_pager: false -docs_section_pager: true -sharing: true -copyright_license: - enable: false - allow_derivatives: false - share_alike: true - allow_commercial: false - notice: 'This work is licensed under {license}' -plugins_js: [] -breadcrumb: - page_types: - book: true -comments: - provider: '' - commentable: - book: true - disqus: - shortname: '' - show_count: true - commento: - url: '' -search: - provider: wowchemy - algolia: - app_id: '' - api_key: '' - index_name: '' - show_logo: false -marketing: - google_analytics: '' - google_tag_manager: '' - google_site_verification: '' -cms: - branch: main - local_backend: false -icon: - pack: - ai: false +features: + syntax_highlighter: + enable: false + extra_languages: + - r + - latex + math: + enable: false + diagram: + enable: false + privacy_pack: + enable: false + repository: + url: 'https://github.com/wowchemy/hugo-documentation-theme' + content_dir: content + branch: main + comment: + provider: '' + disqus: + shortname: '' + show_count: true + commento: + url: '' + search: + provider: wowchemy + algolia: + app_id: '' + api_key: '' + index_name: '' + show_logo: false diff --git a/starters/documentation/content/home/hero.md b/starters/documentation/content/home/hero.md index bb0566c4..fa25b737 100644 --- a/starters/documentation/content/home/hero.md +++ b/starters/documentation/content/home/hero.md @@ -19,8 +19,8 @@ cta_alt: label: View Documentation cta_note: label: >- - - Show your product version here: + + Project version will appear here --- @@ -28,4 +28,4 @@ Published with the [Wowchemy Website Builder](https://wowchemy.com/) for Hugo. Write something interesting about your project here. -Star Wowchemy Website Builder for Hugo
Star the Project Docs template +Star Wowchemy Website Builder for Hugo
Star the Hugo Documentation Theme diff --git a/starters/documentation/go.mod b/starters/documentation/go.mod index 871f7aef..bb6b740a 100644 --- a/starters/documentation/go.mod +++ b/starters/documentation/go.mod @@ -3,6 +3,6 @@ module github.com/wowchemy/starter-book go 1.14 require ( - github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20210526223849-81ba17522966 // indirect - github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms v0.0.0-20210526223849-81ba17522966 // indirect + github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20220213135439-f2a7091eaa3e // indirect + github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20220213135439-f2a7091eaa3e // indirect ) diff --git a/starters/documentation/netlify.toml b/starters/documentation/netlify.toml index a75ffd2c..e5df8dc0 100644 --- a/starters/documentation/netlify.toml +++ b/starters/documentation/netlify.toml @@ -3,7 +3,7 @@ publish = "public" [build.environment] - HUGO_VERSION = "0.83.1" + HUGO_VERSION = "0.91.2" HUGO_ENABLEGITINFO = "true" [context.production.environment] diff --git a/starters/markdown-slides/config/_default/config.yaml b/starters/markdown-slides/config/_default/config.yaml index d8190b7b..7d473293 100644 --- a/starters/markdown-slides/config/_default/config.yaml +++ b/starters/markdown-slides/config/_default/config.yaml @@ -4,7 +4,7 @@ # This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/ title: Markdown Slides # Website name -baseurl: 'https://example.com/' # Website URL +baseURL: 'https://example.com/' # Website URL ############################ ## LANGUAGE