-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhugo.toml
117 lines (97 loc) · 2.23 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
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
110
111
112
113
114
115
116
117
baseURL = "https://www.aviskase.com"
languageCode = "en"
title = "aviskase"
buildFuture = true
# canonifyURLs = true
disableKinds = ["taxonomy", "term", "section"]
enableEmoji = true
publishDir = "output"
summaryLength = 50
[params]
description = "A blog by Yuliya Bagriy aka aviskase about testing, APIs, and other techy thingies."
images = ["logo.png"]
title = "aviskase"
username = "aviskase"
firstname = "Yuliya"
lastname = "Bagriy"
mainSections = ["posts"]
# [frontmatter]
# date = ["Date", ":default"]
# lastmod = ["Modified", ":default"]
[params.social]
email = "[email protected]"
twitter_creator = "@aviskase"
[outputs]
# Output HTML, and ATOM on Home
home = ["HTML", "ATOM"]
# Output only HTML everywhere else
# section = ["HTML"]
# section = ["HTML"]
# taxonomy = ["HTML"]
# term = ["HTML"]
# Define a new ATOM output format
[outputFormats]
[outputFormats.ATOM]
name = "ATOM"
path = "feeds"
baseName = "all"
mediaType = "application/atom+xml"
# Define a new ATOM media type
[mediaTypes]
[mediaTypes."application/atom+xml"]
suffixes = ["atom.xml"]
[markup]
[markup.goldmark]
[markup.goldmark.extensions]
definitionList = true
footnote = true
linkify = true
strikethrough = true
table = true
taskList = true
typographer = true
[markup.highlight]
style = "dracula"
guessSyntax = true
[permalinks]
articles = "/articles/:year/:month/:day/:slug/"
[menu]
[[menu.main]]
# if you need special typography chars in name, you them as is, because layout page cannot markdownify them
identifier = "home"
name = "Home"
url = "/"
weight = 100
[[menu.main]]
identifier = "rss"
name = "RSS"
url = "/feeds/all.atom.xml"
weight = 300
[module]
[[module.mounts]]
source = "assets"
target = "assets"
[[module.mounts]]
source = "hugo_stats.json"
target = "assets/watching/hugo_stats.json"
[build]
[build.buildStats]
enable = true
[[build.cachebusters]]
source = 'assets/watching/hugo_stats\.json'
target = 'main\.css'
[[build.cachebusters]]
source = '(postcss|tailwind)\.config\.js'
target = 'css'
[[build.cachebusters]]
source = 'assets/.*\.(js|ts|jsx|tsx)'
target = 'js'
[[build.cachebusters]]
source = 'assets/.*\.(css|scss|sass)'
target = 'css'
[[build.cachebusters]]
source = 'data/.*\.(.*)$'
target = 'css'
[[build.cachebusters]]
source = 'assets/.*\.(.*)$'
target = '$1'