added site title and base configuration variables

This commit is contained in:
2024-08-14 13:35:02 -06:00
parent 0d1e2cc9a0
commit a56555b4b1
4 changed files with 41 additions and 1 deletions

View File

@@ -41,6 +41,12 @@ tldr = "clipboard-list"
todo = "circle-check"
warning = "triangle-alert"
[generate]
# The site base URL. If supplied, this will be added to a <base> element in the page metadata.
sitebase = ""
# The site title. If supplied, this will be included in page metadata and used to formulate the default title.
sitetitle = ""
[templates]
# The template directory name under the Obsidian vault. Default is ".dragonglass.tmpl".
directory = ".dragonglass.tmpl"

View File

@@ -17,6 +17,12 @@ dragonglass_version
python_version
The version number of Python that's running dragonglass.
site_base:
If defined, contains the site base URL.
site_title:
If defined, contains the site title.
tags:
A list of all tags the page being rendered has, in sorted order.