zola/docs
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
..
content Make shortcodes work in markdown filter (#1358) 2021-02-19 20:51:08 +01:00
sass Make anchors always visible in docs 2020-09-01 22:24:33 +02:00
static Only shrink when resizing with fit (#803) 2019-09-24 16:54:14 -07:00
templates Copyright date always ending on current year (#1366) 2021-02-19 18:46:36 +01:00
config.toml Use zola 0.13 for docs 2021-02-02 20:57:37 +01:00