Added initial config.toml
This commit is contained in:
parent
dc2f861f62
commit
f144622e3e
2 changed files with 67 additions and 0 deletions
6
archetypes/default.md
Normal file
6
archetypes/default.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
61
config.toml
Normal file
61
config.toml
Normal file
|
@ -0,0 +1,61 @@
|
|||
baseURL = "https://oscar.blue"
|
||||
title = "Oscar Pocock"
|
||||
theme = "hugo-notepadium"
|
||||
copyright = "© 2022 Oscar Pocock"
|
||||
|
||||
languageCode = "en-gb"
|
||||
|
||||
enableRobotsTXT = true
|
||||
|
||||
[markup.highlight]
|
||||
codeFences = true
|
||||
noClasses = false
|
||||
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true # enable raw HTML in Markdown
|
||||
|
||||
[params]
|
||||
style = "auto" # default: auto. light: light theme, dark: dark theme, auto: based on system.
|
||||
dateFormat = "Monday, January 2, 2006" # if unset, default is "2006-01-02"
|
||||
logo = "" # if you have a logo png
|
||||
slogan = "100% JavaScript-free"
|
||||
license = "" # CC License
|
||||
fullRss = false # Puts entire HTML post into rss 'description' tag. If unset, default is false.
|
||||
|
||||
[params.comments]
|
||||
enable = false # En/Disable comments globally, default: false. You can always enable comments on per page.
|
||||
|
||||
[params.math]
|
||||
enable = false # optional: true, false. Enable globally, default: false. You can always enable math on per page.
|
||||
use = "katex" # option: "katex", "mathjax". default: "katex"
|
||||
|
||||
[params.syntax]
|
||||
use = "none" # builtin: "prismjs", "hljs". "none" means Chroma
|
||||
theme = "xcode"
|
||||
darkTheme = "xcode-dark" # apply this theme in dark mode
|
||||
|
||||
[params.share]
|
||||
enable = false
|
||||
addThisId = ""
|
||||
inlineToolId = ""
|
||||
|
||||
[params.nav]
|
||||
showCategories = false # /categories/
|
||||
showTags = false # /tags/
|
||||
|
||||
# custom navigation items
|
||||
[[params.nav.custom]]
|
||||
title = "Home"
|
||||
url = "/"
|
||||
|
||||
[[params.nav.custom]]
|
||||
title = "Blog"
|
||||
url = "/blog"
|
||||
|
||||
[[params.nav.custom]]
|
||||
title = "About"
|
||||
url = "/about"
|
||||
|
||||
[[params.nav.custom]]
|
||||
title = "Contact"
|
||||
url = "/contact"
|
Loading…
Reference in a new issue