diff options
Diffstat (limited to 'exampleSite/config.toml')
| -rw-r--r-- | exampleSite/config.toml | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index b0e5b62..a8e3eee 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -16,6 +16,7 @@ disableKinds = ['RSS'] # section = [ "HTML", "Atom" ] home = [ 'HTML', 'Atom', 'humanstxt' ] +# For more see: https://gohugo.io/templates/output-formats/ [outputFormats.humanstxt] mediaType = 'text/plain' baseName = 'humans' @@ -29,8 +30,15 @@ disableKinds = ['RSS'] # For more see: https://validator.w3.org/feed/docs/atom.html#whatIsAtom [outputFormats.Atom] name = 'Atom' - mediaType = 'application/atom+xml' - # generated file = <baseName>.<mediaType.'application/atom+xml'.suffixes[0]> = feeds/feed.atom.xml + # 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]> = feeds/feed.atom.xml baseName = 'feeds/feed.atom' rel = 'alternate' isPlainText = false @@ -39,7 +47,7 @@ disableKinds = ['RSS'] permalinkable = false [mediaTypes] - [mediaTypes.'application/atom+xml'] + [mediaTypes.'text/xml'] suffixes = ['xml'] [author] @@ -83,6 +91,7 @@ disableKinds = ['RSS'] svgicon = '' # A single SVG icon with a light/dark version for modern browsers apple_touch_icon = '' # 180×180 PNG image for Apple devices webmanifest = '' # Web app manifest with 192×192 and 512×512 PNG icons for modern browsers + logo = '/img/open-graph-logo.png' # Logo image, relative to ./assets logo_width = 200 # Logo image width logo_height = 200 # Logo image height |
