summaryrefslogtreecommitdiff
path: root/plt/highlightjs.html
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-05-02 01:33:25 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-05-02 01:33:25 -0600
commitec2aa74d36670d74c153aa0022ab22e79502a061 (patch)
treeb6e6eda5f8ae90f23e371d8e8a097e4c7efaab96 /plt/highlightjs.html
parent81d0d609e47d5cdfab3d5db2eff6ec91b5d2773b (diff)
update to new version of pyssg
Diffstat (limited to 'plt/highlightjs.html')
-rw-r--r--plt/highlightjs.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/plt/highlightjs.html b/plt/highlightjs.html
index 0a1ded3..d44f3e8 100644
--- a/plt/highlightjs.html
+++ b/plt/highlightjs.html
@@ -1,9 +1,9 @@
-{%macro print()%}
+{%macro print(config)%}
<!-- highlight support for code blocks -->
-<script type="text/javascript" src="hl/highlight.min.js"></script>
+<script type="text/javascript" src="{{config['url']['static']}}/hl/highlight.min.js"></script>
{%block gdscript_hl%}{%endblock gdscript_hl%}
<script type="text/javascript">
hljs.initHighlightingOnLoad();
</script>
-<link id="code-theme-css" rel="stylesheet" type="text/css" href="hl/styles/nord.min.css">
+<link id="code-theme-css" rel="stylesheet" type="text/css" href="{{config['url']['static']}}/hl/styles/nord.min.css">
{%endmacro%} \ No newline at end of file