Revert "themes/hyde: Respect SRI when loading prism JS"

For some reason dis is broken

This reverts commit 02e71780b9.
This commit is contained in:
Harsh Shandilya 2019-12-04 16:17:56 +05:30
parent 21f10f8c27
commit 8bf12d325c
1 changed files with 1 additions and 3 deletions

View File

@ -23,9 +23,7 @@
{{ partial "head_fonts.html" . }}
<!-- PrismJS -->
{{ $js := resources.Get "js/prism.js" }}
{{ $secureJS := $js | resources.Fingerprint "sha512" }}
<script type="text/javascript" src="{{ $secureJS.Permalink }}" integrity="{{ $secureJS.Data.Integrity }}"></script>
<script type="text/javascript" src="{{ .Site.BaseURL }}/js/prism.js"></script>
<!-- Icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png">