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 = [] html_void = []
[template] [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 enable = true
# Set a base template order = [
# Optional { type = "Powerpoint", path = "./src/templates/powerpoint.html" },
general = "./src/templates/general.html" { type = "Adjacent" },
powerpoint = "./src/templates/powerpoint.html" { 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. [indexing]
# An Empty array below is also valid roots = []
render_drafts = false
# 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"]

View file

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