-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
109 lines (90 loc) · 2.24 KB
/
config.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# theme.toml template for a Hugo theme
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
name = "Gerard Kraja's Blog"
description = "This is where I publish my projects related to programming and more."
homepage = "TODO"
theme="henry"
tags = [
"website",
"starter",
"responsive",
"Disqus",
"blog",
"Tachyons",
"Multilingual",
"Stackbit",
]
features = [
"clean reading experience",
"beautiful font & type",
"customizable & versatile",
"footnotes",
"sidenotes",
"multiple image display combinations",
"image attribution captions",
"external url",
"daring fireball style urls",
"canonical urls",
"alternate urls aliases",
"rss feed clean",
"seo optimized",
"posts",
"shortcodes",
"related posts",
]
min_version = "0.84.0"
[params]
[params.author]
name = "Kaushik Gopal"
email = "blog@kau.sh"
url = "https://kau.sh"
avatar = "/images/kg.jpeg"
[related]
includeNewer = true # show related posts from the future
threshold = 80
[[related.indices]]
name = "title"
weight = 60
toLower = true
[[related.indices]]
name = "tags"
weight = 30
# configure RSS feeds for specific pages
[outputs]
# output format for pages
# https://gohugo.io/templates/output-formats/#output-formats-for-pages
page = ["html"]
home = ["HTML", "RSS", "JSON", "SEARCH"]
# sections = directories e.g. blog, letter, ppt
section = ["HTML", "RSS", "JSON"]
# taxonomies = virtual tags/directories e.g. categories, tags (built-in)
# no rss for these as they're mostly "list" pages
taxonomy = ["html"]
# terms = values of taxonomies e.g. categories/programming
term = ["HTML", "RSS", "JSON"]
# enable .json RSS feeds
[outputFormats]
# output formats
# https://gohugo.io/templates/output-formats/#output-format-definitions
[outputFormats.RSS]
mediatype = "application/rss"
# change RSS path for default XML feed to /feed.xml (default index.xml)
baseName = "feed"
[outputFormats.JSON]
# change RSS path for JSON feed to /feed.json
baseName = "feed"
[markup]
defaultMarkdownHandler = 'goldmark'
[languages]
[languages.en]
languageName = "English"
languageCode = "en-us"
weight = 1
# Required for search
[params.search]
enabled = true
[outputFormats.SEARCH]
baseName = "search"
isPlainText = true
mediaType = "application/json"
notAlternative = true