include support for description metadata

This commit is contained in:
2024-08-11 23:07:15 -06:00
parent bc759bbaf9
commit 72a2ea1ab5
6 changed files with 39 additions and 10 deletions

View File

@@ -1,3 +1,5 @@
# In this file, the value of each configuration option is its default.
[links]
# The prefix to apply to all internally-generated URLs. Default is "/".
prefix = "/"
@@ -11,3 +13,7 @@ directory = ".dragonglass.tmpl"
default = "default.html"
# The name of the default stylesheet.
stylesheet = "dragonglass.css"
[metadata]
# If true, use page title as default description.
description-title = false

View File

@@ -5,6 +5,10 @@ aliases
List of alternative names that can be used to link to a
particular page.
description
(Obsidian Publish standard metadata)
The description for this page.
publish
(Obsidian Publish standard metadata)
If this boolean value is False, the page will not be published.

View File

@@ -8,6 +8,9 @@ default_stylesheet
The filename of the default stylesheet which is generated by dragonglass and added to the
generated pages.
description
The description of this page. May be empty.
dragonglass_version
The version number of dragonglass.