summaryrefslogtreecommitdiffstats
path: root/exampleSite
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml24
-rw-r--r--exampleSite/go.mod7
-rw-r--r--exampleSite/go.sum0
3 files changed, 14 insertions, 17 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]
diff --git a/exampleSite/go.mod b/exampleSite/go.mod
deleted file mode 100644
index b284689..0000000
--- a/exampleSite/go.mod
+++ /dev/null
@@ -1,7 +0,0 @@
-module github.com/sergeyklay/gohugo-theme-ed/exampleSite
-
-go 1.18
-
-replace github.com/sergeyklay/gohugo-theme-ed => ../
-
-require github.com/sergeyklay/gohugo-theme-ed v0.0.0-20220424201054-c40490eb087e // indirect
diff --git a/exampleSite/go.sum b/exampleSite/go.sum
deleted file mode 100644
index e69de29..0000000
--- a/exampleSite/go.sum
+++ /dev/null