diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2024-09-29 11:06:22 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <git@serghei.pl> | 2024-09-29 12:04:25 +0200 |
| commit | b2d4394d4bf376e6ef937879a7e9b0030812531e (patch) | |
| tree | 61ce4a7e5f974847579e6254e32583b06720d7f8 | |
| parent | 399b428e1be926e3e71a860162ec2c708e98072f (diff) | |
| download | gohugo-theme-ed-b2d4394d4bf376e6ef937879a7e9b0030812531e.tar.gz | |
Correct config formatting
| -rw-r--r-- | exampleSite/hugo.toml | 248 |
1 files changed, 124 insertions, 124 deletions
diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml index b0f568c..22cf775 100644 --- a/exampleSite/hugo.toml +++ b/exampleSite/hugo.toml @@ -19,130 +19,130 @@ enableRobotsTXT = true refLinksErrorLevel = 'WARNING' [params] -# Site description. Used in meta description -description = 'Ed is a Hugo theme designed for textual editors based on minimal computing principles, and focused on legibility and flexibility.' - -# SEO keywords. Used in 'meta name="keywords"' tag. -# May be overridden by .Keywords or .Tags in front matter. -keywords = ['hugo', 'ed', 'hugo theme', 'minimal', 'responsive', 'clean'] - -# Used in site header -tagline = 'a Hugo theme for minimal editions' - -# Custom footer text on left sidebar. Use HTMl if needed. -# "©" and "{year}" will be replaced by © and the current year. -footer = 'Built with <a href="https://github.com/sergeyklay/gohugo-theme-ed" target="_blank" rel="noopener noreferrer">Ed</a>. Distributed under an MIT license.' - -# Colour scheme. Options: red, orange, magenta, cyan, blue, brown -colorScheme = '' - -# Sections to be displayed in: -# - main page -# - RSS feeds -# - search index -# - ... -mainSections = ['posts', 'dramas', 'narratives', 'poems'] - -# Posts date format, for example: 2006-01-02 -dateFormat = ':date_long' -dateFormatToc = '2006.01.02' - -# Show "Read more" button in list if true -readmore = true - -# RSS/Atom feed size -feedSize = 25 - -recentPostsSize = 5 - -[params.contact] - # Forms Backend URL, used in contacts form - formAction = 'https://submit-form.com/example' - - # Contact form email subject - emailSubject = 'Contact form submission' - - # Where should the user be redirected after successful form submit? - thanksUrl = '/thanks' - -# Site icons, relative to ./static -[params.assets] - # favicon.ico for legacy browsers - favicon = '' - - # A single SVG icon with a light/dark version for modern browsers - svgicon = '' - - # 180×180 PNG image for Apple devices - apple_touch_icon = '' - - # Logo image, relative to ./assets - logo = '/img/open-graph-logo.png' - disable_fingerprinting = false - -[params.seo] - # Will be used in schema.org/Organization. - # The site.Title will be used if empty. - publisher = 'Serghei Iakovlev' - -[params.author] - name = 'Serghei Iakovlev' - email = 'contact@serghei.pl' - github = 'sergeyklay' - twitter = 'egreps' - location = 'Wrocław, Poland' - -[params.social] - # Array of Facebook Page Admin IDs for Domain Insights - facebookAdminIds = [] - # Facebook Page ID - facebookId = '' - # Twitter username for the website - twitter = 'egreps' - -# Configure search engine -[params.search] - # Maximum length (in words) of each text blurb. You can change this - # value if you find that 100 is too short or too long for your taste. - maxSummaryLength = 100 - # Lunr has full support for the indexing and searching of documents - # in English. If your documents are in another language, uncomment - # required languages below. - # - # For more see: https://lunrjs.com/guides/language_support.html - languages = ['en', 'es'] - -[params.comments] - enable = false - type = 'giscus' - - # Configure giscus comments. - # - # For more see: https://giscus.app/ - [params.comments.giscus] - # Required parameters: - repo = 'sergeyklay/gohugo-theme-ed' - repoId = 'R_kgDOHEYacw' - category = 'General' - categoryId = 'DIC_kwDOHEYac84Cerse' - - # Optional parameters: - theme = 'light' - mapping = 'pathname' - strict = 0 - reactionsEnabled = 1 - emitMetadata = 0 - inputPosition = 'bottom' - lang = 'en' - -[params.privacy] - [params.privacy.googleTagManager] - disable = false - respectDoNotTrack = true - -[params.services] - [params.services.googleTagManager] - id = 'GTM-W8D5W642' + # Site description. Used in meta description + description = 'Ed is a Hugo theme designed for textual editors based on minimal computing principles, and focused on legibility and flexibility.' + + # SEO keywords. Used in 'meta name="keywords"' tag. + # May be overridden by .Keywords or .Tags in front matter. + keywords = ['hugo', 'ed', 'hugo theme', 'minimal', 'responsive', 'clean'] + + # Used in site header + tagline = 'a Hugo theme for minimal editions' + + # Custom footer text on left sidebar. Use HTMl if needed. + # "©" and "{year}" will be replaced by © and the current year. + footer = 'Built with <a href="https://github.com/sergeyklay/gohugo-theme-ed" target="_blank" rel="noopener noreferrer">Ed</a>. Distributed under an MIT license.' + + # Colour scheme. Options: red, orange, magenta, cyan, blue, brown + colorScheme = '' + + # Sections to be displayed in: + # - main page + # - RSS feeds + # - search index + # - ... + mainSections = ['posts', 'dramas', 'narratives', 'poems'] + + # Posts date format, for example: 2006-01-02 + dateFormat = ':date_long' + dateFormatToc = '2006.01.02' + + # Show "Read more" button in list if true + readmore = true + + # RSS/Atom feed size + feedSize = 25 + + recentPostsSize = 5 + + [params.contact] + # Forms Backend URL, used in contacts form + formAction = 'https://submit-form.com/example' + + # Contact form email subject + emailSubject = 'Contact form submission' + + # Where should the user be redirected after successful form submit? + thanksUrl = '/thanks' + + # Site icons, relative to ./static + [params.assets] + # favicon.ico for legacy browsers + favicon = '' + + # A single SVG icon with a light/dark version for modern browsers + svgicon = '' + + # 180×180 PNG image for Apple devices + apple_touch_icon = '' + + # Logo image, relative to ./assets + logo = '/img/open-graph-logo.png' + disable_fingerprinting = false + + [params.seo] + # Will be used in schema.org/Organization. + # The site.Title will be used if empty. + publisher = 'Serghei Iakovlev' + + [params.author] + name = 'Serghei Iakovlev' + email = 'contact@serghei.pl' + github = 'sergeyklay' + twitter = 'egreps' + location = 'Wrocław, Poland' + + [params.social] + # Array of Facebook Page Admin IDs for Domain Insights + facebookAdminIds = [] + # Facebook Page ID + facebookId = '' + # Twitter username for the website + twitter = 'egreps' + + # Configure search engine + [params.search] + # Maximum length (in words) of each text blurb. You can change this + # value if you find that 100 is too short or too long for your taste. + maxSummaryLength = 100 + # Lunr has full support for the indexing and searching of documents + # in English. If your documents are in another language, uncomment + # required languages below. + # + # For more see: https://lunrjs.com/guides/language_support.html + languages = ['en', 'es'] + + [params.comments] + enable = false + type = 'giscus' + + # Configure giscus comments. + # + # For more see: https://giscus.app/ + [params.comments.giscus] + # Required parameters: + repo = 'sergeyklay/gohugo-theme-ed' + repoId = 'R_kgDOHEYacw' + category = 'General' + categoryId = 'DIC_kwDOHEYac84Cerse' + + # Optional parameters: + theme = 'light' + mapping = 'pathname' + strict = 0 + reactionsEnabled = 1 + emitMetadata = 0 + inputPosition = 'bottom' + lang = 'en' + + [params.privacy] + [params.privacy.googleTagManager] + disable = false + respectDoNotTrack = true + + [params.services] + [params.services.googleTagManager] + id = 'GTM-W8D5W642' [languages] [languages.en] |
