generated from hugo-fixit/component-skeleton
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhugo.toml
68 lines (59 loc) · 2.4 KB
/
hugo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# -------------------------------------------------------------------------------------
# Media Types
# See: https://gohugo.io/templates/output-formats/#media-types
# -------------------------------------------------------------------------------------
[mediaTypes]
# Options to make output feed.json files
# Warning: The application/feed+json media type will cause an unknown error in resources.GetRemote!
# [mediaTypes."application/feed+json"]
# suffixes = ["json"]
# -------------------------------------------------------------------------------------
# Output Format Definitions
# See: https://gohugo.io/templates/output-formats/#output-format-definitions
# -------------------------------------------------------------------------------------
[outputFormats]
# Options to make output feed.json file
[outputFormats.jsonfeed]
baseName = "feed"
# Warning: The application/feed+json media type will cause an unknown error in resources.GetRemote!
mediaType = "application/json"
isPlainText = true
isHTML = false
# -------------------------------------------------------------------------------------
# Customizing Output Formats
# See: https://gohugo.io/templates/output-formats/#customizing-output-formats
# -------------------------------------------------------------------------------------
[outputs]
# <baseURL>/feed.json
home = ["html", "rss", "jsonfeed"]
# <baseURL>/posts/feed.json etc.
section = ["html", "rss", "jsonfeed"]
# <baseURL>/tags/foo/feed.json etc.
term = ["html", "rss", "jsonfeed"]
[params]
# Global Feed config for JSON feed.
[params.feed]
# The number of posts to include in the feed. If set to -1, all posts.
limit = 10
# whether to show the full text content in feed.
fullText = true
# Section page config (all pages in section)
[params.section]
# Section feed config for JSON feed.
[params.section.feed]
# The number of posts to include in the feed. If set to -1, all posts.
limit = -1
# whether to show the full text content in feed.
fullText = false
# Term list (category or tag) page config
[params.list]
# Term list feed config for JSON feed.
[params.list.feed]
# The number of posts to include in the feed. If set to -1, all posts.
limit = -1
# whether to show the full text content in feed.
fullText = false
[module]
[module.hugoVersion]
extended = true
min = "0.127.0"