|
|
|
baseURL = "https://blog.ndumas.com"
|
|
|
|
languageCode = "en-us"
|
|
|
|
title = 'form and function'
|
|
|
|
# Add it only if you keep the theme in the `themes` directory.
|
|
|
|
# Remove it if you use the theme as a remote Hugo Module.
|
|
|
|
paginate = 7
|
|
|
|
enableGitInfo = true
|
|
|
|
|
|
|
|
[module]
|
|
|
|
# this is needed when you fetch the theme as a submodule to your repo.
|
|
|
|
# replacements = "github.com/panr/hugo-theme-terminal -> themes/terminal"
|
|
|
|
[[module.imports]]
|
|
|
|
path = 'github.com/panr/hugo-theme-terminal/v3'
|
|
|
|
|
|
|
|
[permalinks]
|
|
|
|
notes = "/:year/:month/:filename"
|
|
|
|
|
|
|
|
[taxonomies]
|
|
|
|
tag = "tags"
|
|
|
|
series = "series"
|
|
|
|
|
|
|
|
[params]
|
|
|
|
# dir name of your main content (default is `content/posts`).
|
|
|
|
# the list of set content will show up on your index page (baseurl).
|
|
|
|
contentTypeName = "posts"
|
|
|
|
|
|
|
|
# ["orange", "blue", "red", "green", "pink"]
|
|
|
|
themeColor = "blue"
|
|
|
|
|
|
|
|
# if you set this to 0, only submenu trigger will be visible
|
|
|
|
showMenuItems = 2
|
|
|
|
|
|
|
|
# show selector to switch language
|
|
|
|
showLanguageSelector = false
|
|
|
|
|
|
|
|
# set theme to full screen width
|
|
|
|
fullWidthTheme = false
|
|
|
|
|
|
|
|
# center theme with default width
|
|
|
|
centerTheme = true
|
|
|
|
|
|
|
|
# if your resource directory contains an image called `cover.(jpg|png|webp)`,
|
|
|
|
# then the file will be used as a cover automatically.
|
|
|
|
# With this option you don't have to put the `cover` param in a front-matter.
|
|
|
|
autoCover = true
|
|
|
|
|
|
|
|
# set post to show the last updated
|
|
|
|
# If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated
|
|
|
|
showLastUpdated = true
|
|
|
|
|
|
|
|
# set a custom favicon (default is a `themeColor` square)
|
|
|
|
# favicon = "favicon.ico"
|
|
|
|
|
|
|
|
# Provide a string as a prefix for the last update date. By default, it looks like this: 2020-xx-xx [Updated: 2020-xx-xx] :: Author
|
|
|
|
# updatedDatePrefix = "Updated"
|
|
|
|
|
|
|
|
# set all headings to their default size (depending on browser settings)
|
|
|
|
# oneHeadingSize = true # default
|
|
|
|
|
|
|
|
# whether to show a page's estimated reading time
|
|
|
|
readingTime = false # default
|
|
|
|
|
|
|
|
# whether to show a table of contents
|
|
|
|
# can be overridden in a page's front-matter
|
|
|
|
Toc = true # default
|
|
|
|
|
|
|
|
# set title for the table of contents
|
|
|
|
# can be overridden in a page's front-matter
|
|
|
|
# TocTitle = "contents" # default
|
|
|
|
|
|
|
|
|
|
|
|
[params.twitter]
|
|
|
|
# set Twitter handles for Twitter cards
|
|
|
|
# see https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started#card-and-content-attribution
|
|
|
|
# do not include @
|
|
|
|
creator = ""
|
|
|
|
site = ""
|
|
|
|
|
|
|
|
[languages]
|
|
|
|
[languages.en]
|
|
|
|
languageName = "English"
|
|
|
|
title = "form and function"
|
|
|
|
subtitle = "code, art, learning from mistakes"
|
|
|
|
owner = "Nick Dumas"
|
|
|
|
keywords = ""
|
|
|
|
copyright = "CC-BY 2023 Nick Dumas"
|
|
|
|
menuMore = "Show more"
|
|
|
|
readMore = "Read more"
|
|
|
|
readOtherPosts = "Read other posts"
|
|
|
|
newerPosts = "Newer posts"
|
|
|
|
olderPosts = "Older posts"
|
|
|
|
missingContentMessage = "Page not found..."
|
|
|
|
missingBackButtonLabel = "Back to home page"
|
|
|
|
|
|
|
|
[languages.en.params.logo]
|
|
|
|
logoText = "Home"
|
|
|
|
logoHomeLink = "/"
|
|
|
|
|
|
|
|
[languages.en.menu]
|
|
|
|
[[languages.en.menu.main]]
|
|
|
|
identifier = "about"
|
|
|
|
name = "About"
|
|
|
|
url = "/about"
|
|
|
|
[[languages.en.menu.main]]
|
|
|
|
identifier = "series"
|
|
|
|
name = "Showcase"
|
|
|
|
url = "/series"
|
|
|
|
|
|
|
|
[markup]
|
|
|
|
[markup.tableOfContents]
|
|
|
|
endLevel = 3
|
|
|
|
ordered = true
|
|
|
|
startLevel = 2
|
|
|
|
[markup.highlight]
|
|
|
|
noClasses = false
|
|
|
|
anchorLineNos = false
|
|
|
|
codeFences = true
|
|
|
|
guessSyntax = true
|
|
|
|
hl_Lines = ""
|
|
|
|
lineAnchors = ""
|
|
|
|
lineNoStart = 1
|
|
|
|
lineNos = true
|
|
|
|
lineNumbersInTable = true
|
|
|
|
style = "dracula"
|
|
|
|
[frontmatter]
|
|
|
|
lastmod = ["lastmod", ":git", "date", "publishDate"]
|
|
|
|
publishDate = ["publishDate", "date"]
|
|
|
|
[markup.goldmark.renderer]
|
|
|
|
unsafe = true
|