zola/docs/content/documentation/templates
Hanno Braun 6d6df45f23
Make shortcodes work in markdown filter (#1358)
* Move `load_tera` to `templates`

I don't know if this is a good place for it, conceptually. I'm moving it
there because I need to use it from `templates`, and `templates` can't
depend on `site`, because there's already a dependency in the opposite
direction.

* Load templates in `markdown` filter

This enables the `markdown` filter to handle shortcodes, as long as
those shortcodes don't access any context variables.

Addresses #1350

* Update documentation of `markdown` filter

* Only load templates for `markdown` filter once

* Clarify `markdown` filter documentation

This is a lightly edited version of what @southerntofu suggested.
2021-02-19 20:51:08 +01:00
..
feeds Fix RSS block example in documentation (#1210) 2020-10-21 13:00:16 +02:00
404.md Simple clean up of documentation. (#849) 2020-02-02 17:48:42 -08:00
_index.md Redirect on templates and themes sections 2017-10-19 17:06:31 +02:00
archive.md Simple clean up of documentation. (#849) 2020-02-02 17:48:42 -08:00
overview.md Make shortcodes work in markdown filter (#1358) 2021-02-19 20:51:08 +01:00
pages-sections.md Clearer page sorting comment 2020-06-18 23:21:35 +02:00
pagination.md Add pagination example to docs 2021-01-09 10:26:32 +01:00
robots.md Fix site 2020-12-14 20:58:59 +01:00
sitemap.md WIP: add an 'updated' field to pages 2020-04-14 17:29:46 +05:30
taxonomies.md Typos (#1010) 2020-04-26 20:35:59 +02:00