This commit is contained in:
parent
bb2e5bd327
commit
473e760c90
@ -65,13 +65,9 @@
|
|||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
{{- if .Site.Params.selfHosted -}}
|
{{- if .Site.Params.selfHosted -}}
|
||||||
<script src="{{ "js/katex.min.js" | absURL }}"></script>
|
|
||||||
<script src="{{ "js/auto-render.min.js" | absURL }}"></script>
|
|
||||||
<script src="{{ "js/jquery-3.5.1.slim.min.js" | absURL }}"></script>
|
<script src="{{ "js/jquery-3.5.1.slim.min.js" | absURL }}"></script>
|
||||||
<script src="{{ "js/bootstrap.min.js" | absURL }}"></script>
|
<script src="{{ "js/bootstrap.min.js" | absURL }}"></script>
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
<script src="https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/katex.min.js" integrity="sha384-g7c+Jr9ZivxKLnZTDUhnkOnsh30B4H0rpLUpJ4jAIKs4fnJI+sEnkvrMWph2EDg4" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/contrib/auto-render.min.js" integrity="sha384-mll67QQFJfxn0IYznZYonOWZ644AWYC+Pt2cHqMaRhXVrursRwvLnLaebdGIlYNa" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
||||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@ -87,15 +83,6 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
<script> renderMathInElement(document.body); </script>
|
<script> renderMathInElement(document.body); </script>
|
||||||
|
|
||||||
{{- if .Site.Params.selfHosted -}}
|
|
||||||
<script src="{{ "js/photoswipe.min.js" | absURL }}"></script>
|
|
||||||
<script src="{{ "js/photoswipe-ui-default.min.js" | absURL }}"></script>
|
|
||||||
{{- else -}}
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.2/photoswipe.min.js" integrity="sha384-QELNnmcmU8IR9ZAykt67vGr9/rZJdHbiWi64V88fCPaOohUlHCqUD/unNN0BXSqy" crossorigin="anonymous"></script>
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.2/photoswipe-ui-default.min.js" integrity="sha384-m67o7SkQ1ALzKZIFh4CiTA8tmadaujiTa9Vu+nqPSwDOqHrDmxLezTdFln8077+q" crossorigin="anonymous"></script>
|
|
||||||
{{- end -}}
|
|
||||||
<script src="{{ "js/load-photoswipe.js" | absURL }}"></script>
|
|
||||||
|
|
||||||
<!-- Google Custom Search Engine -->
|
<!-- Google Custom Search Engine -->
|
||||||
{{ if .Site.Params.gcse }}
|
{{ if .Site.Params.gcse }}
|
||||||
<script>
|
<script>
|
||||||
|
@ -46,11 +46,9 @@
|
|||||||
<link rel="alternate" href="{{ "index.xml" | absLangURL }}" type="application/rss+xml" title="{{ .Site.Title }}">
|
<link rel="alternate" href="{{ "index.xml" | absLangURL }}" type="application/rss+xml" title="{{ .Site.Title }}">
|
||||||
|
|
||||||
{{- if .Site.Params.selfHosted -}}
|
{{- if .Site.Params.selfHosted -}}
|
||||||
<link rel="stylesheet" href="{{ "css/katex.min.css" | absURL }}" />
|
|
||||||
<link rel="stylesheet" href="{{ "fontawesome/css/all.css" | absURL }}" />
|
<link rel="stylesheet" href="{{ "fontawesome/css/all.css" | absURL }}" />
|
||||||
<link rel="stylesheet" href="{{ "css/bootstrap.min.css" | absURL }}" />
|
<link rel="stylesheet" href="{{ "css/bootstrap.min.css" | absURL }}" />
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.8/katex.min.css" integrity="sha512-7nTa5CnxbzfQgjQrNmHXB7bxGTUVO/DcYX6rpgt06MkzM0rVXP3EYCv/Ojxg5H0dKbY7llbbYaqgfZjnGOAWGA==" crossorigin="anonymous">
|
|
||||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
|
||||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
@ -75,17 +73,5 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
<link rel="stylesheet" href="{{ "css/codeblock.css" | absURL }}" />
|
<link rel="stylesheet" href="{{ "css/codeblock.css" | absURL }}" />
|
||||||
|
|
||||||
{{- if .Site.Params.staticman.recaptcha -}}
|
|
||||||
<script src='https://www.google.com/recaptcha/api.js'></script>
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{- if .Site.Params.selfHosted -}}
|
|
||||||
<link rel="stylesheet" href="{{ "css/photoswipe.min.css" | absURL }}" />
|
|
||||||
<link rel="stylesheet" href="{{ "css/photoswipe.default-skin.min.css" | absURL }}" />
|
|
||||||
{{- else -}}
|
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.3/photoswipe.min.css" integrity="sha512-yxWNfGm+7EK+hqP2CMJ13hsUNCQfHmOuCuLmOq2+uv/AVQtFAjlAJO8bHzpYGQnBghULqnPuY8NEr7f5exR3Qw==" crossorigin="anonymous">
|
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.3/default-skin/default-skin.min.css" integrity="sha512-Rck8F2HFBjAQpszOB9Qy+NVLeIy4vUOMB7xrp46edxB3KXs2RxXRguHfrJqNK+vJ+CkfvcGqAKMJTyWYBiBsGA==" crossorigin="anonymous">
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{- partial "head_custom.html" . }}
|
{{- partial "head_custom.html" . }}
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
{{ template "_internal/google_analytics_async.html" . }}
|
||||||
|
Loading…
Reference in New Issue
Block a user