Mobile hover (#72)

* Restore onTouch article card style

* Minify Katex files

* Fix date on li-next

* Add ontouch to htmlvalidator ignore
This commit is contained in:
Joe Hutchinson
2022-02-15 22:32:04 -05:00
committed by GitHub
parent 99cddb52cc
commit 3d5ad66c95
13 changed files with 11 additions and 18705 deletions

View File

@@ -22,7 +22,7 @@
{{ if (fileExists "layouts/partials/meta-tags.html") -}}
{{ partial "meta-tags.html" . }}
{{ end -}}
{{ with resources.Get "css/katex.css" -}}
{{ with resources.Get "css/katex.min.css" -}}
<link href="{{ .Permalink }}" rel="stylesheet">
{{ end -}}
{{ $normalizeStyle := resources.Get "css/normalize.css" }}

View File

@@ -1,4 +0,0 @@
<a
href="{{ .Site.BaseURL }}" class="card home-card" style="background-image: url({{if isset .Site.Params "homeimg"}} {{ (resources.Get .Site.Params.homeimg).Permalink | safeCSS }} {{ else }} {{ (resources.Get "img/grey-cloud.jpg").Permalink | safeCSS }} {{ end }})" rel="bookmark" >
Home
</a>

View File

@@ -1,7 +1,7 @@
{{ with resources.Get "js/katex.js" }}
{{ with resources.Get "js/katex.min.js" }}
<script defer src="{{ .Permalink }}"></script>
{{ end }}
{{ with resources.Get "js/auto-render.js" }}
{{ with resources.Get "js/auto-render.min.js" }}
<script defer src="{{ .Permalink }}" onload="renderMathInElement(document.body);"></script>
{{ end }}
{{ $corejs := resources.Get "js/core.js" | minify }}