diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-11-20 17:15:52 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-11-20 21:20:23 +0700 |
commit | 7314ab1fa7b258d1a05f3479b9349346fa0bd7c7 (patch) | |
tree | f03a43081afa625973f65f48035cde3e75d6ef52 /_layout | |
parent | d3b5105565fd212f88a1fc770c0a2646bc0fa80d (diff) | |
download | site-7314ab1fa7b258d1a05f3479b9349346fa0bd7c7.tar.gz |
Stop vendoring front-end libraries
Diffstat (limited to '_layout')
-rw-r--r-- | _layout/foot.html | 2 | ||||
-rw-r--r-- | _layout/head.html | 4 | ||||
-rw-r--r-- | _layout/tag.html | 1 |
3 files changed, 4 insertions, 3 deletions
diff --git a/_layout/foot.html b/_layout/foot.html index 95abfb5..43530ed 100644 --- a/_layout/foot.html +++ b/_layout/foot.html @@ -2,6 +2,6 @@ <script src=/libs/katex/auto-render.min.js></script> <script>renderMathInElement(document.body)</script>{{end}} {{if hascode}}<script src=/libs/highlight/highlight.pack.js></script> -<script>hljs.initHighlightingOnLoad();</script>{{end}} +<script>hljs.initHighlightingOnLoad()</script>{{end}} </body> </html> diff --git a/_layout/head.html b/_layout/head.html index 8f5353f..9c0eac5 100644 --- a/_layout/head.html +++ b/_layout/head.html @@ -1,9 +1,9 @@ <!doctype html> <html lang=en> <meta charset=UTF-8 name=viewport content='width=device-width, initial-scale=1'> -{{if hasmath}}<link rel=stylesheet href=/libs/katex/katex.min.css>{{end}} -<link rel=stylesheet href=/css/style.css> <link rel=icon href=/assets/favicon.png> +<link rel=stylesheet href=/css/style.css> +{{if hasmath}}<link rel=stylesheet href=/css/katex.min.css>{{end}} {{isdef title}}<title>{{title}} - McSinyx</title>{{end}} <body> {{insert header.html}} diff --git a/_layout/tag.html b/_layout/tag.html index fb18574..2ac2eea 100644 --- a/_layout/tag.html +++ b/_layout/tag.html @@ -2,6 +2,7 @@ <html lang=en> <meta charset=UTF-8> <meta name=viewport content='width=device-width, initial-scale=1'> +<link rel=icon href=/assets/favicon.png> <link rel=stylesheet href=/css/style.css> <title>Tag: {{fd_tag}}</title> <body> |