diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-04-25 22:30:05 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-04-25 22:30:05 +0200 |
| commit | 7b2124ea5f535116ec526ad09babe834cf2fe0a1 (patch) | |
| tree | b89e18b5529eb257c1ba7e744f2bac9306f9e2d8 /exampleSite | |
| parent | c40490eb087e2013057bda62f394f4043b678d15 (diff) | |
| download | gohugo-theme-ed-7b2124ea5f535116ec526ad09babe834cf2fe0a1.tar.gz | |
Setup code linting
Diffstat (limited to 'exampleSite')
| -rw-r--r-- | exampleSite/.gitignore | 3 | ||||
| -rw-r--r-- | exampleSite/config.toml | 36 | ||||
| -rw-r--r-- | exampleSite/go.mod | 7 | ||||
| -rw-r--r-- | exampleSite/go.sum | 0 |
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 |
