diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2024-09-29 11:04:18 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <git@serghei.pl> | 2024-09-29 12:04:25 +0200 |
| commit | 399b428e1be926e3e71a860162ec2c708e98072f (patch) | |
| tree | f7481d2841659b5d8115722252dc3250418b2e12 /exampleSite/config/_default/config.yaml | |
| parent | fedb40603459d173135c3cc165a3e86f0e1abb66 (diff) | |
| download | gohugo-theme-ed-399b428e1be926e3e71a860162ec2c708e98072f.tar.gz | |
Migrate demo site to standard config
Diffstat (limited to 'exampleSite/config/_default/config.yaml')
| -rw-r--r-- | exampleSite/config/_default/config.yaml | 137 |
1 files changed, 0 insertions, 137 deletions
diff --git a/exampleSite/config/_default/config.yaml b/exampleSite/config/_default/config.yaml deleted file mode 100644 index 5adea78..0000000 --- a/exampleSite/config/_default/config.yaml +++ /dev/null @@ -1,137 +0,0 @@ -# You may need to change this line for your real project. -baseURL: / - -# Keep title short to prevent overflow. -# There’s no official guidance on this, but 40 characters for -# mobile and 60 for desktop is roughly the sweet spot. -# -# NB: Final title of shareable pages will be this plus the -# title of the page. Eg. "Contacts - Ed." -title: Ed. - -enableRobotsTXT: true - -# When using ref or relref to resolve page links and a link cannot -# resolve, it will be logged with this log level. -refLinksErrorLevel: WARNING - -# We have just the default tags taxonomy, and remove the categories -# taxonomy for site as not used. -taxonomies: - tag: tags - -minify: - # Do not minify XML files to avoid CDATA escape issues - disableXML: true - tdewolff: - html: - keepQuotes: true - -outputs: - home: [HTML, RSS, MANIFEST, Atom, JSONFEED, JSON, humanstxt] - page: [HTML] - rss: [RSS] - section: [HTML, RSS, Atom, JSONFEED] - taxonomy: [HTML, RSS] - term: [HTML, RSS] - -outputFormats: - # For more see: https://validator.w3.org/feed/docs/atom.html#whatIsAtom - Atom: - name: Atom - # The correct header Content-Type header for an Atom feed is - # application/atom+xml. However, Chromium does not handle it - # correctly (see https://code.google.com/p/chromium/issues/detail?id=104358). - # - # The most compatible header is 'text/xml; charset=utf-8', which - # will cause the feed to be parsed correctly by most clients. - # Note that you should be encoding your feed in UTF-8. - mediaType: text/xml - # generated file = <baseName>.<mediaType.'text/xml'.suffixes[0]> = atom.xml - baseName: atom - rel: alternate - isPlainText: false - isHTML: false - noUgly: true - permalinkable: false - - # For more see: https://www.jsonfeed.org/ - JSONFEED: - name: JsonFeed - mediaType: application/feed+json - baseName: feed - rel: alternate - isPlainText: true - isHTML: false - noUgly: false - - MANIFEST: - # The .webmanifest extension is specified in the Media type registration - # section of the specification (the response of the manifest file should - # return Content-Type: application/manifest+json). - # - # For more see: https://w3c.github.io/manifest/#media-type-registration= - name: Manifest - mediaType: application/manifest+json - baseName: manifest - rel: manifest - isPlainText: true - isHTML: false - noUgly: false - notAlternative: false - - # For more see: https://gohugo.io/templates/output-formats/ - humanstxt: - mediaType: text/plain - baseName: humans - rel: author - isPlainText: true - isHTML: false - noUgly: true - permalinkable: false - notAlternative: true - -mediaTypes: - text/xml: - suffixes: - - xml - application/feed+json: - suffixes: - - json - -# Sitemap config -sitemap: - changefreq: monthly - filename: sitemap.xml - priority: 0.5 - -# For more see https://gohugo.io/getting-started/configuration-markup/ -markup: - defaultMarkdownHandler: goldmark - highlight: - # false due to generated Syntax Highlighter CSS - noClasses: false - goldmark: - parser: - attribute: - # Enable custom attribute support for blocks - block: true - -# If enableGitInfo is true, it will override any lastmod dates in our -# front matter. We should at least allow ourselves to manually override -# this value in the front matter. -frontmatter: - lastmod: - - lastmod - - ':git' - - date - - publishDate - -module: - hugoVersion: - extended: true - min: '0.121.0' - imports: - # Use full path to theme's repository. This is replaced in go.mod for - # exampleSite to point to the directory above. - - path: github.com/sergeyklay/gohugo-theme-ed |
