summaryrefslogtreecommitdiffstats
path: root/exampleSite/config.toml
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-11 08:47:21 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-11 08:47:21 +0200
commit20e87403091d8c73049991af87aa76d7d3763d09 (patch)
treea7723f8e7d7b22853752146705b6a3cd39934534 /exampleSite/config.toml
parent52ec5d04d585a4ac4b5a4215d3b0aa5a79006c26 (diff)
downloadgohugo-theme-ed-20e87403091d8c73049991af87aa76d7d3763d09.tar.gz
Simplefied dev workflow, remove go.mod and go.sum
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r--exampleSite/config.toml24
1 files changed, 14 insertions, 10 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index fcc72f5..29aa2de 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -3,8 +3,7 @@ baseURL = 'https://example.com/'
languageCode = 'en-us'
defaultContentLanguage = 'en'
title = 'Ed.'
-theme = ['github.com/sergeyklay/gohugo-theme-ed']
-resourceDir = '../resources'
+theme = 'ed'
[languages]
[languages.en]
@@ -33,7 +32,7 @@ resourceDir = '../resources'
readmore = true
[params.assets]
- # Relative paths to icons
+ # Site icons, relative to ./static
favicon = '' # favicon.ico for legacy browsers
svgicon = '' # A single SVG icon with a light/dark version for modern browsers
apple_touch_icon = '' # 180×180 PNG image for Apple devices
@@ -46,12 +45,13 @@ resourceDir = '../resources'
facebook_admin = ''
facebook_id = ''
+# https://gohugo.io/content-management/menus/
[menu]
- [[menu.main]]
- identifier = 'home'
- name = 'Home'
- url = '/'
- weight = 1
+ [[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
[[menu.main]]
identifier = 'about'
name = 'About'
@@ -75,10 +75,14 @@ resourceDir = '../resources'
[menu.main.params]
external = true
+# https://gohugo.io/getting-started/configuration-markup/
[markup]
+ defaultMarkdownHandler = 'goldmark'
+
[markup.highlight]
- # Syntax highlighting theme
- style = 'monokailight'
+ # Syntax highlight style, see https://xyproto.github.io/splash/docs/
+ style = 'emacs'
+
[markup.goldmark]
[markup.goldmark.parser]
[markup.goldmark.parser.attribute]