diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-07-21 14:25:56 +0530 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-07-21 14:25:56 +0530 |
| commit | 118bf1345e7756a1739d0f52d21f9600accf5698 (patch) | |
| tree | 81d6b7b56f6aff80e1d8f149d33951fa411cdbe2 | |
| parent | 15d7a4aabdf71ac85d88dd08eda27e5306d853fe (diff) | |
assets: assets to proper location
| -rw-r--r-- | assets/css/an-old-hope.min.css (renamed from assets/an-old-hope.min.css) | 0 | ||||
| -rw-r--r-- | assets/js/highlight.min.js (renamed from assets/highlight.min.js) | 0 | ||||
| -rw-r--r-- | assets/js/set-theme.js (renamed from assets/set-theme.js) | 0 | ||||
| -rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
| -rw-r--r-- | layouts/partials/head.html | 6 |
5 files changed, 4 insertions, 4 deletions
diff --git a/assets/an-old-hope.min.css b/assets/css/an-old-hope.min.css index cc1585f..cc1585f 100644 --- a/assets/an-old-hope.min.css +++ b/assets/css/an-old-hope.min.css diff --git a/assets/highlight.min.js b/assets/js/highlight.min.js index 1f06ffc..1f06ffc 100644 --- a/assets/highlight.min.js +++ b/assets/js/highlight.min.js diff --git a/assets/set-theme.js b/assets/js/set-theme.js index d07d135..d07d135 100644 --- a/assets/set-theme.js +++ b/assets/js/set-theme.js diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 3841d21..6784f2b 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -23,7 +23,7 @@ <footer class="footer"> {{- partial "footer.html" . }} </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> hljs.initHighlightingOnLoad(); diff --git a/layouts/partials/head.html b/layouts/partials/head.html index a660da3..501fcfc 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -12,7 +12,7 @@ <meta name="author" content="{{ .Site.Params.author }}"> {{- end }} <!-- 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 }} {{ $reset := resources.Get "css/reset.css" | minify }} {{ $header := resources.Get "css/header.css" | minify }} @@ -22,7 +22,7 @@ {{ $footer := resources.Get "css/footer.css" | minify }} {{ $404 := resources.Get "css/404.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="{{ "custom.css" | absURL }}" rel="stylesheet"> <!-- Favicons --> @@ -41,6 +41,6 @@ {{- end }} <!-- Script --> {{- if $.Site.Params.SetThemeAuto -}} -{{ $settheme := resources.Get "set-theme.js" | minify }} +{{ $settheme := resources.Get "js/set-theme.js" | minify }} <script src="{{ $settheme.Permalink }}"></script> {{- end -}}
\ No newline at end of file |
