summaryrefslogtreecommitdiff
path: root/blog/plt
diff options
context:
space:
mode:
Diffstat (limited to 'blog/plt')
-rw-r--r--blog/plt/base.html1
-rw-r--r--blog/plt/page.html5
2 files changed, 6 insertions, 0 deletions
diff --git a/blog/plt/base.html b/blog/plt/base.html
index 3c0e3c9..4cb4827 100644
--- a/blog/plt/base.html
+++ b/blog/plt/base.html
@@ -18,6 +18,7 @@
<!-- highlight support for code blocks -->
<script type="text/javascript" src="hl/highlight.min.js"></script>
<!--<script type="text/javascript" src="hl/highlight-ln.min.js"></script>-->
+ {%block gdscript_hl%}{%endblock gdscript_hl%}
<script type="text/javascript">
hljs.initHighlightingOnLoad();
// hljs.initLineNumbersOnLoad();
diff --git a/blog/plt/page.html b/blog/plt/page.html
index 92aed91..cdfbdf2 100644
--- a/blog/plt/page.html
+++ b/blog/plt/page.html
@@ -2,6 +2,11 @@
{%block html_lang%}{{page.lang}}{%endblock html_lang%}
{%block head_title%}{{page.title}}{%endblock head_title%}
{%block head_description%}{{page.summary}}{%endblock head_description%}
+{%block gdscript_hl%}
+{%if "godot" in page.tags%}
+ <script type="text/javascript" src="hl/languages/gdscript.min.js"></script>
+{%endif%}
+{%endblock gdscript_hl%}
{%block head_og%}
<meta property="og:title" content="{{page.title}} -- {{config.get("info", "title")}}"/>
<meta property="og:type" content="article"/>