mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
assets: assets to proper location
This commit is contained in:
parent
15d7a4aabd
commit
118bf1345e
@ -23,7 +23,7 @@
|
|||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
{{- partial "footer.html" . }}
|
{{- partial "footer.html" . }}
|
||||||
</footer>
|
</footer>
|
||||||
{{ $highlight := resources.Get "highlight.min.js" | minify | fingerprint}}
|
{{ $highlight := resources.Get "js/highlight.min.js" | minify | fingerprint}}
|
||||||
<script src="{{ $highlight.Permalink }}" integrity="{{ $highlight.Data.Integrity }}"></script>
|
<script src="{{ $highlight.Permalink }}" integrity="{{ $highlight.Data.Integrity }}"></script>
|
||||||
<script>
|
<script>
|
||||||
hljs.initHighlightingOnLoad();
|
hljs.initHighlightingOnLoad();
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
<meta name="author" content="{{ .Site.Params.author }}">
|
<meta name="author" content="{{ .Site.Params.author }}">
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<!-- Styles -->
|
<!-- Styles -->
|
||||||
{{ $anoldhope := resources.Get "an-old-hope.min.css" | minify }}
|
{{ $anoldhope := resources.Get "css/an-old-hope.min.css" | minify }}
|
||||||
{{ $theme := resources.Get "css/theme-vars.css" | minify }}
|
{{ $theme := resources.Get "css/theme-vars.css" | minify }}
|
||||||
{{ $reset := resources.Get "css/reset.css" | minify }}
|
{{ $reset := resources.Get "css/reset.css" | minify }}
|
||||||
{{ $header := resources.Get "css/header.css" | minify }}
|
{{ $header := resources.Get "css/header.css" | minify }}
|
||||||
@ -22,7 +22,7 @@
|
|||||||
{{ $footer := resources.Get "css/footer.css" | minify }}
|
{{ $footer := resources.Get "css/footer.css" | minify }}
|
||||||
{{ $404 := resources.Get "css/404.css" | minify }}
|
{{ $404 := resources.Get "css/404.css" | minify }}
|
||||||
{{ $style := slice $theme $reset $header $main $postentry $postsingle $footer $404 | resources.Concat "stylesheet.css" | minify }}
|
{{ $style := slice $theme $reset $header $main $postentry $postsingle $footer $404 | resources.Concat "stylesheet.css" | minify }}
|
||||||
{{ $stylesheet := slice $anoldhope $style | resources.Concat "stylesheet.css" | minify | fingerprint }}
|
{{ $stylesheet := slice $anoldhope $style | resources.Concat "css/stylesheet.css" | minify | fingerprint }}
|
||||||
<link href="{{ $stylesheet.Permalink }}" integrity="{{ $stylesheet.Data.Integrity }}" rel="stylesheet">
|
<link href="{{ $stylesheet.Permalink }}" integrity="{{ $stylesheet.Data.Integrity }}" rel="stylesheet">
|
||||||
<link href="{{ "custom.css" | absURL }}" rel="stylesheet">
|
<link href="{{ "custom.css" | absURL }}" rel="stylesheet">
|
||||||
<!-- Favicons -->
|
<!-- Favicons -->
|
||||||
@ -41,6 +41,6 @@
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
<!-- Script -->
|
<!-- Script -->
|
||||||
{{- if $.Site.Params.SetThemeAuto -}}
|
{{- if $.Site.Params.SetThemeAuto -}}
|
||||||
{{ $settheme := resources.Get "set-theme.js" | minify }}
|
{{ $settheme := resources.Get "js/set-theme.js" | minify }}
|
||||||
<script src="{{ $settheme.Permalink }}"></script>
|
<script src="{{ $settheme.Permalink }}"></script>
|
||||||
{{- end -}}
|
{{- end -}}
|
Loading…
Reference in New Issue
Block a user