diff options
| author | Drew DeVault <sir@cmpwn.com> | 2023-05-16 10:38:29 +0200 |
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2023-05-16 10:49:08 +0200 |
| commit | 4297d2df9f4d23ef1f1891e9669973da02d9b910 (patch) | |
| tree | ab9528adb7376eb9f10ab2d7bee3e857d19fce8a /config/_default | |
| download | writefreesoftware.org-4297d2df9f4d23ef1f1891e9669973da02d9b910.tar.xz | |
Initial commit
Diffstat (limited to 'config/_default')
| -rw-r--r-- | config/_default/markup.toml | 19 | ||||
| -rw-r--r-- | config/_default/menus/menu.en.toml | 9 | ||||
| -rw-r--r-- | config/_default/params.toml | 29 |
3 files changed, 57 insertions, 0 deletions
diff --git a/config/_default/markup.toml b/config/_default/markup.toml new file mode 100644 index 0000000..adc933a --- /dev/null +++ b/config/_default/markup.toml @@ -0,0 +1,19 @@ +[goldmark] + [goldmark.renderer] + unsafe = true + [goldmark.extensions] + typographer = false +[highlight] + codeFences = true + guessSyntax = false + hl_Lines = "" + lineNoStart = 1 + lineNos = true + lineNumbersInTable = false + noClasses = false + style = "monokai" + tabWidth = 2 +[tableOfContents] + endLevel = 4 + ordered = false + startLevel = 2
\ No newline at end of file diff --git a/config/_default/menus/menu.en.toml b/config/_default/menus/menu.en.toml new file mode 100644 index 0000000..b8d5b35 --- /dev/null +++ b/config/_default/menus/menu.en.toml @@ -0,0 +1,9 @@ +[[main]] + name = "Learn" + weight = 2 + url = "learn/" + +[[main]] + name = "Blog" + weight = 5 + url = "blog/" diff --git a/config/_default/params.toml b/config/_default/params.toml new file mode 100644 index 0000000..96af288 --- /dev/null +++ b/config/_default/params.toml @@ -0,0 +1,29 @@ +uniqueHomePage = true +docSections = ["learn"] + +blogDir = "blog" + +time_format_blog = "Monday, January 02, 2006" +time_format_default = "January 2, 2006" +enableDarkMode = true +defaultLightingMode = "auto" + +codeMaxLines = 10 + +showLineNumbers = false + +[search] +on = false +global = false +[search.algolia] +enable = false + +[logo] +lightMode = "images/wfs-dark.svg" +darkMode = "images/wfs-light.svg" + +[source] +name = "SourceHut" +iconLight = "images/sourcehut.svg" +iconDark = "images/sourcehut-white.svg" +url = "https://git.sr.ht/~sircmpwn/writefreesoftware.org" |
