zola/docs/content/documentation
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
deployment Merge branch 'master' into next 2021-07-18 13:53:27 +02:00
getting-started Added prompt for when zola build output-dir mentions an existing directory. (#1558) 2021-09-04 08:10:02 +02:00
templates [feature] Shortcodes and anchor-link.html can access lang context (#1609) 2021-09-04 08:10:33 +02:00
themes Clarify where to define the theme in the .toml file (#1390) 2021-03-06 21:12:21 +01:00
_index.md Update _index.md 2018-03-22 15:47:34 -06:00