You've already forked no-js-hugo-theme
							
							use alias for minify and fingerprint
This commit is contained in:
		@@ -10,7 +10,7 @@
 | 
			
		||||
  <!-- Diable favicon requests: https://stackoverflow.com/a/13416784 -->
 | 
			
		||||
  <link rel="icon" href="data:;base64,iVBORw0KGgo=">
 | 
			
		||||
  {{ if .Params.asciinema }}
 | 
			
		||||
    {{ with resources.Get "vendor/asciinema/asciinema-player.css" | resources.Minify | resources.Fingerprint }}
 | 
			
		||||
    {{ with resources.Get "vendor/asciinema/asciinema-player.css" | minify | fingerprint }}
 | 
			
		||||
      <link rel="stylesheet" type="text/css" href="{{ .RelPermalink }}" />
 | 
			
		||||
    {{ end }}
 | 
			
		||||
  {{ end }}
 | 
			
		||||
@@ -21,7 +21,7 @@
 | 
			
		||||
	<link rel="stylesheet" href="{{ "css/styles.css" | relURL }}">
 | 
			
		||||
	<link id="theme_css" rel="stylesheet" href="{{ "css/themes" | relURL }}/{{ .Site.Params.ThemeStyle | default $themeStyleDefault }}">
 | 
			
		||||
  {{- if .Site.Params.ThemeStyleSwitcher }}
 | 
			
		||||
    {{ with resources.Get "js/theme-switcher.js" | resources.Minify | resources.Fingerprint }}
 | 
			
		||||
    {{ with resources.Get "js/theme-switcher.js" | minify | fingerprint }}
 | 
			
		||||
      <script src="{{ .RelPermalink }}"></script>
 | 
			
		||||
    {{ end }}
 | 
			
		||||
  {{- end }}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
<div id='{{ with .Get "key" }}{{ . }}{{ end }}'></div>
 | 
			
		||||
{{ with resources.Get "vendor/asciinema/asciinema-player.min.js" | resources.Fingerprint }}
 | 
			
		||||
{{ with resources.Get "vendor/asciinema/asciinema-player.min.js" | fingerprint }}
 | 
			
		||||
  <script src="{{ .RelPermalink }}"></script>
 | 
			
		||||
{{ end }}
 | 
			
		||||
<script>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user