picocms/Pico

Using Yaml variable in markdown part of the file

omniperspective opened this issue · 3 comments

Is it possible to use a Yaml-variable in the markdown part of the index.md file, for example.
Hence can I use a config.xyz variable from the file ~/config/config.yml ?

Would make life more easy
Thanks for any response
Henk

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two days if no further activity occurs. Thank you for your contributions! 👍

Yes, you can use %meta.*% placeholders, e.g.

---
greet: World!
---

Hello %meta.greet%

Thank you, this makes live so more easy.
Regards Henk.