website/templates/macros.html

8 lines
335 B
HTML
Raw Normal View History

2022-09-19 16:41:09 +00:00
{%macro katex() %}
<link rel="stylesheet" href="/katex/katex.min.css"/>
<script defer src="/katex/katex.min.js"></script>
<script defer src="/katex/contrib/auto-render.min.js" onload="renderMathInElement(document.body);"></script>
{%endmacro katex %}
{%macro langurl() %}{% if lang != "en" %}{{lang}}/{% endif %}{%endmacro langurl %}