summaryrefslogtreecommitdiff
path: root/1 projects/Wedding/Zola.md
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-01-13 13:16:06 +0100
committerJasper Ras <jras@hostnet.nl>2025-01-13 13:16:06 +0100
commit9232b8d817d4cd4122947375156fa2fa1e9fba14 (patch)
treee4feb77f2e508f008b78f722e91488bb9a3f3806 /1 projects/Wedding/Zola.md
parented0753ad224f0c65133bd7a63180257eecd9f5e3 (diff)
vault backup: 2025-01-13 13:16:06
Diffstat (limited to '1 projects/Wedding/Zola.md')
-rw-r--r--1 projects/Wedding/Zola.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/1 projects/Wedding/Zola.md b/1 projects/Wedding/Zola.md
new file mode 100644
index 0000000..1059a9b
--- /dev/null
+++ b/1 projects/Wedding/Zola.md
@@ -0,0 +1,17 @@
+#cms #zola #static-site #wedding
+
+
+---
+# Pages
+Definition: any MD file in content dir except `_index.md`.
+if `index.md` -> page == container dirname, `_index.md` = section
+prefix filename with `Y-m-d_ or -` the prefix date would be stripped.
+
+Why would we create a page using a directory and an index.md, rather than just an pagename.md?
+It allows `asset colocation` which enables relative referencing.
+
+output paths defined by either: [[slug]] frontmatter key or pagename.
+
+# Shortcodes
+templates/shortcodes/shortcode.html: can be accessed via Markdown {{ shortcode() }}
+useful for escaping the bounds of Markdown and creating more complex stuff that's reusable throughout pages.