Rearrange static files, ignore libraries from linguist
This commit is contained in:
parent
7ef69b2c94
commit
36e5b62ea9
13 changed files with 7 additions and 5 deletions
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
|
@ -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",
|
||||||
|
|
Reference in a new issue