Rearrange static files, ignore libraries from linguist

main
Elnu 2 years ago
parent 7ef69b2c94
commit 36e5b62ea9

2
.gitattributes vendored

@ -0,0 +1,2 @@
static/js/* -linguist-detectable
static/css/sakura/* -linguist-detectable

@ -50,13 +50,13 @@
{{ with .Site.Params.ThemeColor }}
<meta name="theme-color" content="{{ . }}">
{{ end }}
<link rel="stylesheet" href="/css/normalize.css">
<link rel="stylesheet" href="/css/sakura{{ if isset .Site.Params "theme" }}-{{ .Site.Params.Theme }}{{ end }}.css">
<link rel="stylesheet" href="/css/sakura/normalize.css">
<link rel="stylesheet" href="/css/sakura/sakura{{ if isset .Site.Params "theme" }}-{{ .Site.Params.Theme }}{{ end }}.css">
{{ if .Site.Params.Stork }}
<link rel="stylesheet" href="/stork/stork.css">
<script src="/stork/stork.js"></script>
<link rel="stylesheet" href="/css/stork.css">
<script src="/js/stork.js"></script>
<script>
stork.initialize("/stork/stork.wasm");
stork.initialize("/js/stork.wasm");
window.onload = () => {
stork.register(
"home",