codified and implemented some of the metadata values and template variables
This commit is contained in:
12
doc/metadata-values.txt
Normal file
12
doc/metadata-values.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
METADATA VALUES USED BY DRAGONGLASS
|
||||
|
||||
aliases
|
||||
(Obsidian standard metadata)
|
||||
List of alternative names that can be used to link to a
|
||||
particular page.
|
||||
|
||||
template
|
||||
The file name of the template to be used to render this page, overriding the default.
|
||||
|
||||
title
|
||||
Title to use for the page, overriding the Markdown file name.
|
||||
21
doc/template-vars.txt
Normal file
21
doc/template-vars.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
TEMPLATE VARIABLES PROVIDED BY DRAGONGLASS WHEN RENDERING A DOCUMENT
|
||||
|
||||
backlinks
|
||||
A list of pages that link to the page being rendered. Formatted as a list of dicts with
|
||||
two elements, "name" and "link", containing the page title and the link to it, respectively.
|
||||
|
||||
default_stylesheet
|
||||
The filename of the default stylesheet which is generated by dragonglass and added to the
|
||||
generated pages.
|
||||
|
||||
dragonglass_version
|
||||
The version number of dragonglass.
|
||||
|
||||
python_version
|
||||
The version number of Python that's running dragonglass.
|
||||
|
||||
text
|
||||
The text of the page being rendered.
|
||||
|
||||
title
|
||||
The title of the page being rendered.
|
||||
Reference in New Issue
Block a user