mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-23 06:55:43 -06:00
always generate appearance.js in js folder
depending on the basePath, the "appearance.js" was generated in an additional subfolder (i.E. /js/docs/appearance... instead of /js/appearance... ).
This commit is contained in:
parent
ad79f8f19e
commit
cfbfc2fbc1
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@
|
||||||
<link type="text/css" rel="stylesheet" href="{{ $bundleCSS.RelPermalink }}"
|
<link type="text/css" rel="stylesheet" href="{{ $bundleCSS.RelPermalink }}"
|
||||||
integrity="{{ $bundleCSS.Data.Integrity }}" />
|
integrity="{{ $bundleCSS.Data.Integrity }}" />
|
||||||
{{ $jsAppearance := resources.Get "js/appearance.js" }}
|
{{ $jsAppearance := resources.Get "js/appearance.js" }}
|
||||||
{{ $jsAppearance = $jsAppearance | resources.ExecuteAsTemplate $jsAppearance.RelPermalink . | resources.Minify | resources.Fingerprint "sha512" }}
|
{{ $jsAppearance = $jsAppearance | resources.ExecuteAsTemplate "js/appearance.js" . | resources.Minify | resources.Fingerprint "sha512" }}
|
||||||
<script type="text/javascript" src="{{ $jsAppearance.RelPermalink }}"
|
<script type="text/javascript" src="{{ $jsAppearance.RelPermalink }}"
|
||||||
integrity="{{ $jsAppearance.Data.Integrity }}"></script>
|
integrity="{{ $jsAppearance.Data.Integrity }}"></script>
|
||||||
{{ if .Site.Params.enableSearch | default false }}
|
{{ if .Site.Params.enableSearch | default false }}
|
||||||
|
|
Loading…
Reference in a new issue