Enable highlighting on blog listing
This commit is contained in:
parent
7330fd8226
commit
155ceb89c4
|
@ -55,3 +55,7 @@ use: [posts]
|
||||||
|
|
||||||
{% include 'post-pager.html.twig' %}
|
{% include 'post-pager.html.twig' %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block scripts %}
|
||||||
|
<script>hljs.initHighlightingOnLoad();</script>
|
||||||
|
{% endblock %}
|
||||||
|
|
Reference in a new issue