aboutsummaryrefslogtreecommitdiff
path: root/config.toml
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-04-06 12:33:39 -0700
committerFranck Cuny <franck@fcuny.net>2021-04-11 11:51:39 -0700
commit446f5c3a3cbfb890ed85ea013de5016a3b6f6040 (patch)
treefbef999a80018aa53b9f2cc266b318fe995319f7 /config.toml
parentlayout: add date and tags to single pages (diff)
downloadfcuny.net-446f5c3a3cbfb890ed85ea013de5016a3b6f6040.tar.gz
taxonomy: add pages for tags
We want to have pages that list all the articles related to a given tag. Update the configuration to add support for tags and the permalink structure.
Diffstat (limited to '')
-rw-r--r--config.toml32
1 files changed, 12 insertions, 20 deletions
diff --git a/config.toml b/config.toml
index 44080ae..23df087 100644
--- a/config.toml
+++ b/config.toml
@@ -2,34 +2,26 @@ baseURL = "http://fcuny.net/"
languageCode = "en-us"
title = "Franck Cuny's Website"
publishDir = "docs"
+enableGitInfo = true
+markup = "org"
[params]
- homeText = "A collection of articles"
+ homeText = "A collection of notes"
+
+[taxonomies]
+ tag = "tags"
[permalinks]
articles = "/:section/:slug/"
-
-[markup]
- [markup.highlight]
- anchorLineNos = false
- codeFences = true
- guessSyntax = false
- hl_Lines = ""
- lineAnchors = ""
- lineNoStart = 1
- lineNos = false
- lineNumbersInTable = true
- noClasses = true
- style = "emacs"
- tabWidth = 2
+ tags = "/tags/:slug/"
[mediaTypes."application/atom"]
-suffixes = ["xml"]
+ suffixes = ["xml"]
[outputFormats.Atom]
-mediaType = "application/atom"
-baseName = "feed"
-isPlainText = false
+ mediaType = "application/atom"
+ baseName = "feed"
+ isPlainText = false
[outputs]
-home = [ "HTML", "Atom" ]
+ home = [ "HTML", "Atom" ]