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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
|
# You may need to change this line for your real project.
baseURL: 'https://gohugo-theme-ed.netlify.app/'
languageCode: en-us
defaultContentLanguage: en
# Keep title short to prevent overflow.
# There’s no official guidance on this, but 40 characters for
# mobile and 60 for desktop is roughly the sweet spot.
#
# NB: Final title of shareable pages will be this plus the
# title of the page. Eg. "Contacts - Ed."
title: Ed.
# Use full path to theme's repository in case of using Hugo Modules.
theme: github.com/sergeyklay/gohugo-theme-ed
# You may need to delete this line for your real project.
resourceDir: ../resources
enableRobotsTXT: true
# When using ref or relref to resolve page links and a link cannot
# resolved, it will be logged with this log level.
refLinksErrorLevel: WARNING
# Kick out RSS, we'll use Atom and FEED bellow.
disableKinds:
- RSS
# Google Analytics Tracking ID.
# Set `HUGO_ENV` environment variable or `site.Params.env` configuration
# parameter to "production" to use Google Analytics.
googleAnalytics: ''
minify:
# Do not minify XML files to avoid CDATA escape issues
disableXML: true
outputs:
home:
- HTML
- Atom
- FEED
- JSONFEED
- JSON
- MANIFEST
- humanstxt
section:
- HTML
- Atom
- FEED
- JSONFEED
page:
- HTML
taxonomy:
- HTML
term:
- HTML
outputFormats:
# For more see: https://validator.w3.org/feed/docs/atom.html#whatIsAtom
Atom:
name: Atom
# 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
isHTML: false
noUgly: true
permalinkable: false
FEED:
name: Feed
mediaType: text/xml
baseName: feeds/feed.rss
rel: alternate
isPlainText: false
isHTML: false
noUgly: true
permalinkable: false
# For more see: https://www.jsonfeed.org/
JSONFEED:
name: JsonFeed
mediaType: application/feed+json
baseName: feeds/feed
rel: alternate
isPlainText: true
isHTML: false
noUgly: false
MANIFEST:
# The .webmanifest extension is specified in the Media type registration
# section of the specification (the response of the manifest file should
# return Content-Type: application/manifest+json).
#
# For more see: https://w3c.github.io/manifest/#media-type-registration=
name: Manifest
mediaType: application/manifest+json
baseName: manifest
rel: manifest
isPlainText: true
isHTML: false
noUgly: false
notAlternative: true
# For more see: https://gohugo.io/templates/output-formats/
humanstxt:
mediaType: text/plain
baseName: humans
rel: author
isPlainText: true
isHTML: false
noUgly: true
permalinkable: false
notAlternative: true
mediaTypes:
text/xml:
suffixes:
- xml
application/feed+json:
suffixes:
- json
application/manifest+json:
suffixes:
- webmanifest
# Sitemap config
sitemap:
changefreq: weekly
filename: sitemap.xml
priority: 0.5
author:
name: John Doe
email: john@example.com
github: john_doe
twitter: john_doe
location: 'Kyiv, Ukraine'
languages:
en:
weight: 1
languageDirection: ltr
languageName: English
params:
# Site description. Used in meta description
description: >-
Ed is a Hugo theme designed for textual editors based on minimal computing
principles, and focused on legibility and flexibility.
# SEO keywords. Used in 'meta name="keywords"' tag.
# May be overridden by .Keywords or .Tags in front matter.
keywords:
- hugo
- ed
- hugo theme
- minimal
- responsive
- clean
# A "copyright"-line to be added to RSS/Atom files.
# "©" and "{year}" will be replaced by © and the current year.
copyright: 'Copyright © 2019-{year} John Doe'
# Color scheme. Options: red, orange, magenta, cyan, blue, brown
colorScheme: ''
# Used in site header
tagline: a Hugo theme for minimal editions
# Custom footer text on left sidebar. Use HTMl if needed.
# "©" and "{year}" will be replaced by © and the current year.
footer: >-
Built with <a href="https://github.com/sergeyklay/gohugo-theme-ed"
target="_blank" rel="noopener noreferrer">Ed</a>. Distributed under an MIT
license.
# Sections to be displayed in the main page, RSS/Atom feeds as well as search index.
mainSections:
- posts
- dramas
- narratives
- poems
# Posts date format, for example: 2006-01-02
dateFormat: ':date_long'
dateFormatToc: 2006.01.02
# Show "Read more" button in list if true
readmore: true
# RSS/Atom feed size
feedSize: 25
recentPostsSize: 5
contact:
# Forms Backend URL, used in contacts form
formAction: 'https://submit-form.com/example'
# Contact form email subject
emailSubject: Contact form submission
# Where should the user be redirected after successful form submit?
thanksUrl: /thanks
# Site icons, relative to ./static
assets:
# favicon.ico for legacy browsers
favicon: ''
# A single SVG icon with a light/dark version for modern browsers
svgicon: ''
# 180×180 PNG image for Apple devices
apple_touch_icon: ''
# Logo image, relative to ./assets
logo: /img/open-graph-logo.png
disable_fingerprinting: false
seo:
# Will be used in schema.org/Organization.
# The site.Title will be used if empty.
publisher: Serghei Iakovlev
social:
# Facebook Page Admin ID for Domain Insights
facebook_admin: ''
# Facebook Page ID
facebook_id: ''
# Twitter username for the website
twitter: john_doe
# For more see https://gohugo.io/content-management/menus/
menu:
main: # sections in the website sidebar
- identifier: home # section id
name: Home # section display title
url: / # path to the section
weight: 1 # order of sections
- identifier: about
name: About
url: /about/
weight: 2
- identifier: credits
name: Credits
url: /credits/
weight: 3
- identifier: documentation
name: Documentation
url: /documentation/
weight: 4
- identifier: search
name: Search
url: /search/
weight: 5
- identifier: contact
name: Contact
url: /contact/
weight: 6
- identifier: github
name: GitHub Project
url: 'https://github.com/sergeyklay/gohugo-theme-ed/'
weight: 20
params:
external: true
feeds:
- identifier: rss
name: RSS 2.0
url: /feeds/feed.rss.xml
weight: 1
- identifier: atom
name: Atom
url: /feeds/feed.atom.xml
weight: 2
- identifier: json
name: Json Feed
url: /feeds/feed.json
weight: 3
# For more see https://gohugo.io/getting-started/configuration-markup/
markup:
defaultMarkdownHandler: goldmark
highlight:
# Syntax highlight style.
# For more see https://xyproto.github.io/splash/docs/
style: emacs
goldmark:
parser:
attribute:
# Enable custom attribute support for blocks
block: true
# If enableGitInfo is true, it will override any lastmod dates in our
# front matter. We should at least allow ourselves to manually override
# this value in the front matter.
frontmatter:
lastmod:
- lastmod
- ':git'
- date
- publishDate
|