diff options
author | Jan Raasch <jan@janraasch.com> | 2020-09-25 19:06:04 +0300 |
---|---|---|
committer | Jan Raasch <jan@janraasch.com> | 2020-09-25 19:06:04 +0300 |
commit | aa2c1c2a32d5849451ede4d9857e15288454ee26 (patch) | |
tree | 6674130862e8c152e9b1aa0f77b77139e4230a46 /exampleSite | |
parent | 6078480ac7e053d230620fa120aafc50fd3248d4 (diff) |
style: run "npm run format" 👷🏻♂️
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/.forestry/front_matter/templates/configuration.yml | 202 | ||||
-rw-r--r-- | exampleSite/.forestry/front_matter/templates/home.yml | 60 | ||||
-rw-r--r-- | exampleSite/.forestry/settings.yml | 36 |
3 files changed, 154 insertions, 144 deletions
diff --git a/exampleSite/.forestry/front_matter/templates/configuration.yml b/exampleSite/.forestry/front_matter/templates/configuration.yml index 6da2bdc..350d8f0 100644 --- a/exampleSite/.forestry/front_matter/templates/configuration.yml +++ b/exampleSite/.forestry/front_matter/templates/configuration.yml @@ -2,107 +2,117 @@ label: Configuration hide_body: true fields: -- type: text - name: baseURL - label: baseURL - description: Hostname (and path) to the root, e.g. <a href="https://bep.is/" title="https://bep.is/" - target="_blank">https://bep.is/</a> - See <a href="https://gohugo.io/getting-started/configuration/" - title="https://gohugo.io/getting-started/configuration/" target="_blank">https://gohugo.io/getting-started/configuration/</a> -- type: list - name: disableKinds - label: disableKinds - description: This is a "one page"-website, so we do not need these kinds of pages... - See <a href="https://gohugo.io/getting-started/configuration/" title="https://gohugo.io/getting-started/configuration/" - target="_blank">https://gohugo.io/getting-started/configuration/</a> -- type: text - name: defaultContentLanguage - label: defaultContentLanguage - description: Content without language indicator will default to this language. See - <a href="https://gohugo.io/getting-started/configuration/" title="https://gohugo.io/getting-started/configuration/" - target="_blank">https://gohugo.io/getting-started/configuration/</a> -- type: text - name: theme - label: theme - description: The name of this wonderful theme ;-). -- type: text - name: title - label: title - description: The "title" of your website. -- type: field_group - name: markup - label: markup - fields: - - type: field_group - name: goldmark - label: goldmark - fields: - - type: field_group - name: renderer - label: renderer - fields: - - type: boolean - name: hardWraps - label: hardWraps - description: Render line-breaks in .md-files as line-breaks in HTML.<br><br>This - is e.g. useful for rendering a multi-line address.<br><br>See <a href="https://gohugo.io/getting-started/configuration-markup#configure-markup" - title="https://gohugo.io/getting-started/configuration-markup#configure-markup" - target="_blank">https://gohugo.io/getting-started/configuration-markup#configure-markup</a>. -- type: field_group - name: params - label: params - fields: - type: text - name: copyright - label: copyright - description: 'A "copyright"-line to be added at the bottom of the page.<br><br>Hint: - Markdown is supported in here as well. So you may e.g. add a link to your legal - imprint-page.' + name: baseURL + label: baseURL + description: + Hostname (and path) to the root, e.g. <a href="https://bep.is/" title="https://bep.is/" + target="_blank">https://bep.is/</a> - See <a href="https://gohugo.io/getting-started/configuration/" + title="https://gohugo.io/getting-started/configuration/" target="_blank">https://gohugo.io/getting-started/configuration/</a> + - type: list + name: disableKinds + label: disableKinds + description: + This is a "one page"-website, so we do not need these kinds of pages... + See <a href="https://gohugo.io/getting-started/configuration/" title="https://gohugo.io/getting-started/configuration/" + target="_blank">https://gohugo.io/getting-started/configuration/</a> + - type: text + name: defaultContentLanguage + label: defaultContentLanguage + description: + Content without language indicator will default to this language. See + <a href="https://gohugo.io/getting-started/configuration/" title="https://gohugo.io/getting-started/configuration/" + target="_blank">https://gohugo.io/getting-started/configuration/</a> - type: text - name: description - label: description - description: The "description" of your website. This is used in the meta data - of your generated html. - - type: file - name: favicon - label: favicon - description: 'The path to your "favicon". This should be a square (at least 32px - x 32px) png-file.<br><br>Hint: It''s good practise to also put a "favicon.ico"-file - into your "static"-folder.' - - type: image_gallery - name: images - label: images - description: These "images" are used for the structured data templates. This will - show up, when services like Twitter or Slack want to generate a preview of a - link to your site. See <a href="https://gohugo.io/templates/internal#twitter-cards" - title="https://gohugo.io/templates/internal#twitter-cards" target="_blank">https://gohugo.io/templates/internal#twitter-cards</a> - and <a href="https://gohugo.io/templates/internal#open-graphhttps://gohugo.io/templates/internal#open-graph" - title="https://gohugo.io/templates/internal#open-graph" target="_blank">https://gohugo.io/templates/internal#open-graph</a>. + name: theme + label: theme + description: The name of this wonderful theme ;-). - type: text name: title label: title - description: Another "title" :-). This one is used as the site_name on Hugo's - internal opengraph structured data template. See <a href="https://ogp.me/" title="https://ogp.me/" - target="_blank">https://ogp.me/</a> and <a href="https://gohugo.io/templates/internal#open-graph" - title="https://gohugo.io/templates/internal#open-graph" target="_blank">https://gohugo.io/templates/internal#open-graph</a>. + description: The "title" of your website. + - type: field_group + name: markup + label: markup + fields: + - type: field_group + name: goldmark + label: goldmark + fields: + - type: field_group + name: renderer + label: renderer + fields: + - type: boolean + name: hardWraps + label: hardWraps + description: + Render line-breaks in .md-files as line-breaks in HTML.<br><br>This + is e.g. useful for rendering a multi-line address.<br><br>See <a href="https://gohugo.io/getting-started/configuration-markup#configure-markup" + title="https://gohugo.io/getting-started/configuration-markup#configure-markup" + target="_blank">https://gohugo.io/getting-started/configuration-markup#configure-markup</a>. - type: field_group - name: meta - label: meta + name: params + label: params fields: - - type: text - name: keywords - label: keywords - - name: hidedesignbyline - type: boolean - label: hidedesignbyline - description: '<strong>LICENSE</strong>: Hugo Product Launch by Jan Raasch is licensed - under Attribution 4.0 International (CC BY 4.0). See <a href="https://github.com/janraasch/hugo-product-launch#license." - title="https://github.com/janraasch/hugo-product-launch#license." target="_blank">https://github.com/janraasch/hugo-product-launch#license.</a> - <br><br>This theme will, by default, inject a design-by-line at the bottom of - the page.<br><br> <strong>If</strong> you would like to use this theme <strong>without - attribution</strong>, permissions beyond this license''s scope <strong>are available</strong> - at <a href="https://github.com/janraasch/hugo-product-launch/blob/master/MORE_PERMISSIONS.md." - title="https://github.com/janraasch/hugo-product-launch/blob/master/MORE_PERMISSIONS.md" - target="_blank">https://github.com/janraasch/hugo-product-launch/blob/master/MORE_PERMISSIONS.md</a>.' - default: false + - type: text + name: copyright + label: copyright + description: + 'A "copyright"-line to be added at the bottom of the page.<br><br>Hint: + Markdown is supported in here as well. So you may e.g. add a link to your legal + imprint-page.' + - type: text + name: description + label: description + description: + The "description" of your website. This is used in the meta data + of your generated html. + - type: file + name: favicon + label: favicon + description: + 'The path to your "favicon". This should be a square (at least 32px + x 32px) png-file.<br><br>Hint: It''s good practise to also put a "favicon.ico"-file + into your "static"-folder.' + - type: image_gallery + name: images + label: images + description: + These "images" are used for the structured data templates. This will + show up, when services like Twitter or Slack want to generate a preview of a + link to your site. See <a href="https://gohugo.io/templates/internal#twitter-cards" + title="https://gohugo.io/templates/internal#twitter-cards" target="_blank">https://gohugo.io/templates/internal#twitter-cards</a> + and <a href="https://gohugo.io/templates/internal#open-graphhttps://gohugo.io/templates/internal#open-graph" + title="https://gohugo.io/templates/internal#open-graph" target="_blank">https://gohugo.io/templates/internal#open-graph</a>. + - type: text + name: title + label: title + description: + Another "title" :-). This one is used as the site_name on Hugo's + internal opengraph structured data template. See <a href="https://ogp.me/" title="https://ogp.me/" + target="_blank">https://ogp.me/</a> and <a href="https://gohugo.io/templates/internal#open-graph" + title="https://gohugo.io/templates/internal#open-graph" target="_blank">https://gohugo.io/templates/internal#open-graph</a>. + - type: field_group + name: meta + label: meta + fields: + - type: text + name: keywords + label: keywords + - name: hidedesignbyline + type: boolean + label: hidedesignbyline + description: + '<strong>LICENSE</strong>: Hugo Product Launch by Jan Raasch is licensed + under Attribution 4.0 International (CC BY 4.0). See <a href="https://github.com/janraasch/hugo-product-launch#license." + title="https://github.com/janraasch/hugo-product-launch#license." target="_blank">https://github.com/janraasch/hugo-product-launch#license.</a> + <br><br>This theme will, by default, inject a design-by-line at the bottom of + the page.<br><br> <strong>If</strong> you would like to use this theme <strong>without + attribution</strong>, permissions beyond this license''s scope <strong>are available</strong> + at <a href="https://github.com/janraasch/hugo-product-launch/blob/master/MORE_PERMISSIONS.md." + title="https://github.com/janraasch/hugo-product-launch/blob/master/MORE_PERMISSIONS.md" + target="_blank">https://github.com/janraasch/hugo-product-launch/blob/master/MORE_PERMISSIONS.md</a>.' + default: false pages: -- config.toml + - config.toml diff --git a/exampleSite/.forestry/front_matter/templates/home.yml b/exampleSite/.forestry/front_matter/templates/home.yml index b8c4de0..06545ff 100644 --- a/exampleSite/.forestry/front_matter/templates/home.yml +++ b/exampleSite/.forestry/front_matter/templates/home.yml @@ -2,35 +2,35 @@ label: Home hide_body: false fields: -- type: text - name: header_brand - label: Header Title / Brand Name -- type: textarea - name: header_tagline_paragraph - label: Header Tagline Paragraph - default: '' -- type: field_group - name: header_button_cta - label: Header Primary Button - Call To Action - fields: - type: text - name: url - label: Url - - type: text - name: title - label: Text -- type: field_group - name: header_button_more - label: Header Secondary Button - fields: - - type: text - name: url - label: Url - - type: text - name: title - label: Text -- type: file - name: teaser_image - label: Header Teaser Image + name: header_brand + label: Header Title / Brand Name + - type: textarea + name: header_tagline_paragraph + label: Header Tagline Paragraph + default: "" + - type: field_group + name: header_button_cta + label: Header Primary Button - Call To Action + fields: + - type: text + name: url + label: Url + - type: text + name: title + label: Text + - type: field_group + name: header_button_more + label: Header Secondary Button + fields: + - type: text + name: url + label: Url + - type: text + name: title + label: Text + - type: file + name: teaser_image + label: Header Teaser Image pages: -- content/_index.md + - content/_index.md diff --git a/exampleSite/.forestry/settings.yml b/exampleSite/.forestry/settings.yml index 371fac1..34f1c44 100644 --- a/exampleSite/.forestry/settings.yml +++ b/exampleSite/.forestry/settings.yml @@ -1,30 +1,30 @@ --- new_page_extension: md auto_deploy: false -admin_path: -webhook_url: +admin_path: +webhook_url: sections: -- type: document - path: content/_index.md - label: Home -- type: directory - path: content - label: Pages - create: all - match: "**/*" - exclude: _index.md -- type: document - path: config.toml - label: Configuration + - type: document + path: content/_index.md + label: Home + - type: directory + path: content + label: Pages + create: all + match: "**/*" + exclude: _index.md + - type: document + path: config.toml + label: Configuration upload_dir: static -public_path: '' -front_matter_path: '' +public_path: "" +front_matter_path: "" use_front_matter_path: false file_template: ":filename:" build: preview_env: - - HUGO_ENV=staging - - HUGO_VERSION=0.71.1 + - HUGO_ENV=staging + - HUGO_VERSION=0.71.1 preview_output_directory: public preview_docker_image: forestryio/hugo:latest mount_path: "/srv" |