Why Nostr? What is Njump?
2024-11-10 09:12:05
in reply to

Andrew on Nostr: ¹ – From my perspective, partials and shortcodes are deliberately *slightly* ...

¹ – From my perspective, partials and shortcodes are deliberately *slightly* different to confuse you.

Creating your own variables helps:

for shortcodes: `{{ $id: = index.params 0 }}`,
for partials: `{{ $id: =. }}`,

and you go from there, but then you spend a lot of frustrating time until you stumble on the fact that you use `.Site.Data.something` to get the /data/something.json file, but in partials it’s `site.Data.something`. WHY?!
Author Public Key
npub1r0vd5mmpefx6fg6cgnv7vrdrhshd7wkypgffxxptgpgdgjh776zq8fj22x