zola/docs
southerntofu 84b75f9725
[feature] Shortcodes and anchor-link.html can access lang context (#1609)
* Pass lang to shortcodes context

* Add tests for lang in shortcodes

* Lang is passed to anchor-link.html template

* Document passing lang to shortcodes/anchor-link.html
Add a test to make sure lang can be overriden by passing an explicit argument to the shortcode,
for usage in the markdown filter where the language context is not available.

* Update docs for more information on shortcodes+i18n+markdown() filter

Co-authored-by: southerntofu <southerntofu@thunix.net>
2021-09-04 08:10:33 +02:00
..
content [feature] Shortcodes and anchor-link.html can access lang context (#1609) 2021-09-04 08:10:33 +02:00
sass Merge branch 'master' into next 2021-07-18 13:53:27 +02:00
static Update processed images 2021-07-18 14:03:14 +02:00
templates Merge branch 'master' into next 2021-07-18 13:53:27 +02:00
config.toml Add class based syntax higlighting + line numbers (#1531) 2021-07-10 08:53:19 +02:00