header.html: fix some issues with script src parameters
This commit is contained in:
parent
18186de6a7
commit
583c09285b
|
@ -20,9 +20,7 @@
|
|||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||
{{ end -}}
|
||||
|
||||
{{- template "_internal/opengraph.html" . -}}
|
||||
{{- template "_internal/twitter_cards.html" . -}}
|
||||
<script src="{{ .Site.BaseURL }}js/feather.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}/js/feather.min.js"></script>
|
||||
{{ $fontstyle := resources.Get "css/fonts.css" | fingerprint }}
|
||||
<link href="{{ $fontstyle.Permalink }}" rel="stylesheet">
|
||||
|
||||
|
@ -37,7 +35,7 @@
|
|||
<!-- Mathjax support -->
|
||||
{{ with .Site.Params.mathjax }}
|
||||
<script type="text/javascript"
|
||||
src="js/MathJax.js" integrity="sha384-Ra6zh6uYMmH5ydwCqqMoykyf1T/+ZcnOQfFPhDrp2kI4OIxadnhsvvA2vv9A7xYv">
|
||||
src="{{ .Site.BaseURL }}/js/MathJax.js" integrity="sha384-Ra6zh6uYMmH5ydwCqqMoykyf1T/+ZcnOQfFPhDrp2kI4OIxadnhsvvA2vv9A7xYv">
|
||||
</script>
|
||||
|
||||
<!-- inline Mathjax -->
|
||||
|
@ -58,9 +56,9 @@
|
|||
|
||||
<!-- KaTeX support -->
|
||||
{{ with .Site.Params.katex }}
|
||||
<link rel="stylesheet" href="css/katex.min.css" integrity="sha384-vKruj+a13U8yHIkAyGgK1J3ArTLzrFGBbBc0tDp4ad/EyewESeXE/Iv67Aj8gKZ0">
|
||||
<script defer src="js/katex.min.js" integrity="sha384-PwRUT/YqbnEjkZO0zZxNqcxACrXe+j766U2amXcgMg5457rve2Y7I6ZJSm2A0mS4" </script>
|
||||
<script defer src="auto-render.min.js" integrity="sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05"
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/katex.min.css" integrity="sha384-vKruj+a13U8yHIkAyGgK1J3ArTLzrFGBbBc0tDp4ad/EyewESeXE/Iv67Aj8gKZ0">
|
||||
<script defer src="{{ .Site.BaseURL }}/js/katex.min.js" integrity="sha384-PwRUT/YqbnEjkZO0zZxNqcxACrXe+j766U2amXcgMg5457rve2Y7I6ZJSm2A0mS4" </script>
|
||||
<script defer src="{{ .Site.BaseURL }}/js/auto-render.min.js" integrity="sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05"
|
||||
onload="renderMathInElement(document.body);"></script>
|
||||
|
||||
<!-- inline KaTeX -->
|
||||
|
|
Loading…
Reference in New Issue