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

Loading…
Cancel
Save