summaryrefslogtreecommitdiffstats
path: root/exampleSite
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/.gitignore3
-rw-r--r--exampleSite/config.toml36
-rw-r--r--exampleSite/go.mod7
-rw-r--r--exampleSite/go.sum0
4 files changed, 46 insertions, 0 deletions
diff --git a/exampleSite/.gitignore b/exampleSite/.gitignore
new file mode 100644
index 0000000..332ee17
--- /dev/null
+++ b/exampleSite/.gitignore
@@ -0,0 +1,3 @@
+/public/
+
+.hugo_build.lock
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
new file mode 100644
index 0000000..faf4f98
--- /dev/null
+++ b/exampleSite/config.toml
@@ -0,0 +1,36 @@
+title = "Ed."
+baseURL = "https://example.com"
+languageCode = "en-us"
+theme = ["github.com/sergeyklay/gohugo-theme-ed"]
+resourceDir = "../resources"
+
+[Author] # Used in authorbox
+ name = "John Doe"
+
+[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.'
+ # Color scheme. Options: red, orange, magenta, cyan, blue, brown
+ color_scheme = ''
+ # Github project url. Used in sidebar
+ github_url = 'https://github.com/sergeyklay/gohugo-theme-ed'
+ # Used in header
+ tagline = 'a Hugo theme for minimal editions'
+
+[menu]
+ [[menu.nav]]
+ name = "Posts"
+ url = "/posts/"
+ weight = 1
+ [[menu.nav]]
+ name = "Tags"
+ url = "/tags/"
+ weight = 2
+ [[menu.nav]]
+ name = "Documentation"
+ url = "/documentation/"
+ weight = 3
+ [[menu.nav]]
+ name = "About"
+ url = "/about/"
+ weight = 4
diff --git a/exampleSite/go.mod b/exampleSite/go.mod
new file mode 100644
index 0000000..b284689
--- /dev/null
+++ b/exampleSite/go.mod
@@ -0,0 +1,7 @@
+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
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/exampleSite/go.sum