diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-18 00:32:30 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-18 00:32:30 +0200 |
| commit | 474a04eb4d17eff9832ef01656bc70874852715f (patch) | |
| tree | e417f28c2e41a43b043319357b82dd326f2e8c75 /exampleSite | |
| parent | 58f744a22380c42c25ee4059bb4b2bcfd255fd53 (diff) | |
| download | gohugo-theme-ed-474a04eb4d17eff9832ef01656bc70874852715f.tar.gz | |
Improved json feed, add twitter, rework humans.txt
Diffstat (limited to 'exampleSite')
| -rw-r--r-- | exampleSite/config.toml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 5a3ae85..4fcc7f1 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -53,7 +53,7 @@ disableKinds = ['RSS'] # For more see: https://www.jsonfeed.org/ [outputFormats.JSON] name = 'Json' - mediaType = 'application/json' + mediaType = 'application/feed+json' baseName = 'feeds/feed' rel = 'alternate' isPlainText = true @@ -73,11 +73,14 @@ disableKinds = ['RSS'] [mediaTypes] [mediaTypes.'text/xml'] suffixes = ['xml'] + [mediaTypes.'application/feed+json'] + suffixes = ['json'] [author] name = 'John Doe' email = 'john@example.com' - github = '@john_doe' + github = 'john_doe' + twitter = 'john_doe' location = 'Kyiv, Ukraine' [languages] |
