diff --git a/config.toml b/config.toml index 5c8a9fe..e1bfc9a 100644 --- a/config.toml +++ b/config.toml @@ -12,6 +12,13 @@ enableGitInfo = true [[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). @@ -98,3 +105,25 @@ enableGitInfo = true 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