summaryrefslogtreecommitdiff
path: root/pyssg.xyz/plt
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-05-01 09:35:25 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-05-01 09:35:25 -0600
commitf797bb14f7413df2abac6326c6df769004e50aa1 (patch)
tree20850afbf9d45adbbcc6fc3a7aecedfa34db830c /pyssg.xyz/plt
parent127130ab909dac8886f45ec856f1d1bce3c7bcc0 (diff)
small bugfix, add toc settings, update example site and delete unnecessary static assets
Diffstat (limited to 'pyssg.xyz/plt')
-rw-r--r--pyssg.xyz/plt/base.html13
-rw-r--r--pyssg.xyz/plt/highlightjs.html4
2 files changed, 8 insertions, 9 deletions
diff --git a/pyssg.xyz/plt/base.html b/pyssg.xyz/plt/base.html
index d5cb77b..5548ec9 100644
--- a/pyssg.xyz/plt/base.html
+++ b/pyssg.xyz/plt/base.html
@@ -2,20 +2,19 @@
<html class="theme-dark" lang="{%block html_lang%}{%endblock html_lang%}"
prefix="og: https://ogp.me/ns#">
<head>
- <base href="{{config['url']['static']}}">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="icon" href="images/icons/favicon.ico">
+ <link rel="icon" href="{{config['url']['static']}}/images/icons/favicon.ico">
{%block head_title%}{%endblock head_title%}
{%block head_description%}{%endblock head_description%}
{%block head_rss%}{%endblock head_rss%}
<!-- general style -->
- <link rel="stylesheet" type="text/css" href="css/style.css">
- <link rel="stylesheet" type="text/css" href="fork-awesome/css/fork-awesome.min.css">
- <link rel="stylesheet" type="text/css" href="font-awesome/css/all.min.css">
+ <link rel="stylesheet" type="text/css" href="{{config['url']['static']}}/css/style.css">
+ <link rel="stylesheet" type="text/css" href="{{config['url']['static']}}/fork-awesome/css/fork-awesome.min.css">
+ <link rel="stylesheet" type="text/css" href="{{config['url']['static']}}/font-awesome/css/all.min.css">
<!-- theme related -->
- <script type="text/javascript" src="scripts/theme.js"></script>
- <link id="theme-css" rel="stylesheet" type="text/css" href="css/theme.css">
+ <script type="text/javascript" src="{{config['url']['static']}}/scripts/theme.js"></script>
+ <link id="theme-css" rel="stylesheet" type="text/css" href="{{config['url']['static']}}/css/theme.css">
<!-- extra -->
{%block head_extra%}{%endblock head_extra%}
<!-- og meta -->
diff --git a/pyssg.xyz/plt/highlightjs.html b/pyssg.xyz/plt/highlightjs.html
index 0a1ded3..bda059c 100644
--- a/pyssg.xyz/plt/highlightjs.html
+++ b/pyssg.xyz/plt/highlightjs.html
@@ -1,9 +1,9 @@
{%macro print()%}
<!-- 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