2020-12-03 01:30:10 +01:00
baseURL = ""
2020-11-29 01:28:30 +01:00
languageCode = "en-us"
2020-12-03 14:04:11 +01:00
title = "ExampleSite for Sandpoints Theme"
2020-11-29 01:28:30 +01:00
relativeurls = true
disableKinds = [ "RSS" , "sitemap" ]
2020-12-10 02:39:30 +01:00
# journals probably should have at least keyword = "keywords"
2021-04-28 21:00:39 +02:00
#
2020-12-10 02:39:30 +01:00
# [taxonomies]
# keyword = "keywords"
2020-11-29 01:28:30 +01:00
[ params ]
2021-04-28 21:00:39 +02:00
description = "This is an example description in Sandpoints Theme's example config file."
2020-12-03 01:30:10 +01:00
2021-04-28 21:00:39 +02:00
## sandpointsGiteaUrl is used in layouts/partials/header.html to generate links in admin ui bar
#
# sandpointsGiteaUrl = "https://git.sandpoints.org/Drawwell/SimpleSandpoints"
## sandpointsCatalogPrefix is used in custom bib: links impplemented in render-image.html
#
# sandpointsCatalogPrefix = "hyper://18f79903cb7ce4f1f3c05449418505a296bb2c4e851f7dc9444cf87ed45fb194/"
## sandpointsCatalogName will be symlink to library following the path:
## /var/www/html/sandpoints/libraries/{sandpointsCatalogName}
#
# sandpointsCatalogName = "dotawo"
2020-11-29 01:28:30 +01:00
2021-05-18 14:21:44 +02:00
## sandpointsMentionedIn lists all pages outside of triadic structure
## which should have a menu `mentioned in` with its backlinks
#
# sandpointsMentionedIn = ["annex", "author", "editor"]
2020-11-29 01:28:30 +01:00
[ outputFormats ]
2021-04-28 21:00:39 +02:00
[ outputFormats . js ]
isPlainText = true
mediaType = "application/javascript"
2020-11-29 01:28:30 +01:00
[ outputs ]
2021-04-28 21:00:39 +02:00
list = [ "html" , "js" ]
2020-11-29 01:28:30 +01:00
2020-12-12 05:22:33 +01:00
[ markup . tableOfContents ]
2021-04-28 21:00:39 +02:00
endLevel = 4
ordered = true
startLevel = 1
2020-12-03 01:30:10 +01:00
2020-12-12 05:22:33 +01:00
[ markup . goldmark . renderer ]
2021-04-28 21:00:39 +02:00
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
2020-12-12 05:22:33 +01:00
2020-12-03 01:30:10 +01:00
[ module ]
2021-04-28 21:00:39 +02:00
## 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 ] ]
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"
2021-04-09 00:29:12 +02:00
2021-04-29 17:13:46 +02:00
## 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"
2021-04-28 21:00:39 +02:00
## 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"
2021-04-09 00:29:12 +02:00
2021-07-11 14:29:47 +02:00
## import _index.md from SandpointsTheme exampleSite to content/urls so the site structure with all of the (back)links is available
#
[ [ module . imports . mounts ] ]
source = "exampleSite/content/urls/_index.md"
target = "content/urls/_index.md"
2021-04-28 21:00:39 +02:00
## 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"
2020-12-03 01:30:10 +01:00
2021-04-28 21:00:39 +02:00
# 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"