From ed0753ad224f0c65133bd7a63180257eecd9f5e3 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Wed, 8 Jan 2025 10:48:09 +0100 Subject: vault backup: 2025-01-08 10:48:09 --- 1 projects/Create wedding invitation/zola.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 1 projects/Create wedding invitation/zola.md (limited to '1 projects/Create wedding invitation/zola.md') diff --git a/1 projects/Create wedding invitation/zola.md b/1 projects/Create wedding invitation/zola.md new file mode 100644 index 0000000..034a165 --- /dev/null +++ b/1 projects/Create wedding invitation/zola.md @@ -0,0 +1,13 @@ +# 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. -- cgit v1.2.3