feat: updated to a newer version of bfom
This commit is contained in:
parent
f62ddd8f0a
commit
2e1733761b
2 changed files with 16 additions and 32 deletions
42
.md.toml
42
.md.toml
|
@ -18,34 +18,18 @@ dest= "./build"
|
|||
html_void = []
|
||||
|
||||
[template]
|
||||
# Templates are hjtml files that teh generated markdown is insereted into.
|
||||
# There are several options on how this is carried out.
|
||||
|
||||
# enable templating
|
||||
# Optional
|
||||
enable = true
|
||||
# Set a base template
|
||||
# Optional
|
||||
general = "./src/templates/general.html"
|
||||
powerpoint = "./src/templates/powerpoint.html"
|
||||
order = [
|
||||
{ type = "Powerpoint", path = "./src/templates/powerpoint.html" },
|
||||
{ type = "Adjacent" },
|
||||
{ type = "AdjacentFolder" },
|
||||
#{ type = "RootFolder", path = "./src/templates/folder.html" },
|
||||
# path to the templates' folder,
|
||||
#{ type = "Root", path = "./src/templates" },
|
||||
{ type = "General", path = "./src/templates/general.html" },
|
||||
{ type = "Default" },
|
||||
]
|
||||
|
||||
# Priority of the templates to use, first one to match a markdown file is used.
|
||||
# An Empty array below is also valid
|
||||
|
||||
# general: use the general file specified above, if it exists.
|
||||
|
||||
# ajacent: check if there is a template file with the same name as the markdown file ajacent to the markdown file.
|
||||
# ./src/exasmple.md
|
||||
# ./src/example.html
|
||||
|
||||
# folder: a html file with the same name of the folder that the md resides in.
|
||||
# ./src/blog/blog.html
|
||||
# ./src/blog/post1.md
|
||||
|
||||
# default: use an inbuilt html5 template
|
||||
|
||||
|
||||
# Optional
|
||||
order = ["ajacent", "general", "folder", "default"]
|
||||
|
||||
blog_src = ["blog", "blog_uni"]
|
||||
[indexing]
|
||||
roots = []
|
||||
render_drafts = false
|
Loading…
Add table
Add a link
Reference in a new issue