You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
106 lines
3.3 KiB
TOML
106 lines
3.3 KiB
TOML
#CONFIG file
|
|
baseURL = ""
|
|
languageCode = "en-us"
|
|
title = "Memory of the World"
|
|
relativeurls = true
|
|
disableKinds = ["RSS", "sitemap"]
|
|
|
|
# journals probably should have at least keyword = "keywords"
|
|
# 2105 CM commented out.
|
|
[taxonomies]
|
|
keyword = "keywords"
|
|
|
|
[params]
|
|
description = "DA Research Notebook."
|
|
sandpointsMentionedIn = ["librarian"]
|
|
|
|
sandpointsGiteaUrl = "https://git.sandpoints.org/we/motw"
|
|
sandpointsCatalogPrefix = "/library/"
|
|
sandpointsCatalogName = "motw"
|
|
|
|
[outputFormats]
|
|
[outputFormats.js]
|
|
isPlainText = true
|
|
mediaType = "text/javascript"
|
|
|
|
[outputs]
|
|
list = ["html", "js"]
|
|
|
|
[markup.tableOfContents]
|
|
endLevel=4
|
|
ordered = true
|
|
startLevel = 1
|
|
|
|
[markup.goldmark.renderer]
|
|
unsafe = true
|
|
|
|
## Enable custom attribute support for titles and blocks by adding attribute lists inside single curly brackets ({.myclass class="class1 class2" }) and placing it after the Markdown element it decorates, on the same line for titles and on a new line directly below for blocks. introduced in hugo v0.81
|
|
#
|
|
[markup.goldmark.parser.attribute]
|
|
block = true
|
|
|
|
[module]
|
|
## replacement allow for easier local development
|
|
#
|
|
# replacements = ["git.sandpoints.org/Drawwell/SandpointsTheme -> /home/m/devel/SandpointsTheme", "git.sandpoints.org/Drawwell/SandpointsEditPage -> /home/m/devel/SandpointsEditPage"]
|
|
|
|
## if any customizations are added one should add, along with the customization imports, also the hugo's skeleton directory structure: archetypes, assets, layouts, static & data
|
|
#
|
|
[[module.imports]]
|
|
path = "git.sandpoints.org/Drawwell/SandpointsTheme"
|
|
# [[module.imports.mounts]] #commented out 2105, otherwise theme update will overwrite archetypes
|
|
# source = "archetypes"
|
|
# target = "archetypes"
|
|
[[module.imports.mounts]]
|
|
source = "assets"
|
|
target = "assets"
|
|
[[module.imports.mounts]]
|
|
source = "layouts"
|
|
target = "layouts"
|
|
[[module.imports.mounts]]
|
|
source = "static"
|
|
target = "static"
|
|
[[module.imports.mounts]]
|
|
source = "data"
|
|
target = "data"
|
|
|
|
## if not working on the css rendered via hugo's postcss pipes
|
|
## this should make it ready to go with only `hugo` and not `hugo -e dev`
|
|
#
|
|
[[module.imports.mounts]]
|
|
source = "assets/css/site-min.css"
|
|
target = "static/css/site-min.css"
|
|
|
|
## import _index.md from SandpointsTheme exampleSite to content/metadata so the metadata is rendered without bothering the regular user
|
|
#
|
|
[[module.imports.mounts]]
|
|
source = "exampleSite/content/metadata/_index.md"
|
|
target = "content/metadata/_index.md"
|
|
|
|
## below is the example of custom css imported from customizations directory of Dotawo project
|
|
#
|
|
# [[module.imports.mounts]]
|
|
# source = "customizations/Dotawo/assets/css/site.css"
|
|
# target = "assets/css/site.css"
|
|
# [[module.imports.mounts]]
|
|
# source = "customizations/Dotawo/static/css/site.min.css"
|
|
# target = "static/css/site.min.css"
|
|
|
|
# below is the list of imports to get the svelte webapp
|
|
# which handles editing the website
|
|
#
|
|
[[module.imports]]
|
|
path = "git.sandpoints.org/Drawwell/SandpointsEditPage"
|
|
[[module.imports.mounts]]
|
|
source = "public/index.md"
|
|
target = "content/edit/index.md"
|
|
[[module.imports.mounts]]
|
|
source = "public/global.css"
|
|
target = "static/edit/build/global.css"
|
|
[[module.imports.mounts]]
|
|
source = "public/build/bundle.js"
|
|
target = "static/edit/build/bundle.js"
|
|
[[module.imports.mounts]]
|
|
source = "public/build/bundle.js.map"
|
|
target = "static/edit/build/bundle.js.map"
|