feat: updated to a newer version of bfom

This commit is contained in:
silver 2024-08-11 17:47:57 +01:00
parent f62ddd8f0a
commit 2e1733761b
Signed by untrusted user: silver
GPG key ID: 0A1071E702CE4B4E
2 changed files with 16 additions and 32 deletions

View file

@ -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

View file

@ -7,11 +7,11 @@
"utils": "utils"
},
"locked": {
"lastModified": 1714337293,
"narHash": "sha256-QjAnpRT/LqcjNo/ofoAjylG4VyfWMIIMVc+KuQaJOZQ=",
"lastModified": 1723391194,
"narHash": "sha256-04UThV4LZNRHg/+GbEl7M2ginWbm8FrQ5jBVmYcroNg=",
"owner": "silver_rust",
"repo": "bfom",
"rev": "664e5377329f8052fa7446c312ba29ca1025de4e",
"rev": "fffd69b6433a2d2fd359b92e3816ae9938b3e99c",
"type": "gitlab"
},
"original": {