diff --git a/.md.toml b/.md.toml index 29f9392..e5434dd 100644 --- a/.md.toml +++ b/.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"] \ No newline at end of file +[indexing] +roots = [] +render_drafts = false \ No newline at end of file diff --git a/flake.lock b/flake.lock index 98fff79..a505ec1 100644 --- a/flake.lock +++ b/flake.lock @@ -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": {