diff options
author | Nelson/Roberto <git@nelsonroberto.com> | 2022-07-26 00:50:41 +0300 |
---|---|---|
committer | Nelson/Roberto <git@nelsonroberto.com> | 2022-07-26 00:50:41 +0300 |
commit | 0f334f00e5664138b06ee20413985798a981bcf5 (patch) | |
tree | 083d543a4cf24e094a14693f21f535510b548d4e | |
parent | e35b0064e33596f60cff175205b2dce0fa214e3c (diff) |
Moved scripts into head of layoutversion_1_1
-rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | layouts/index.html | 2 | ||||
-rw-r--r-- | layouts/partials/head/scripts.html | 8 |
3 files changed, 10 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ca9629c..5452483 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,6 +4,7 @@ {{- partial "head/metadata.html" . -}} {{- partial "head/css.html" . -}} {{- partial "head/rss.html" . -}} + {{- partial "head/scripts" . -}} {{- template "_internal/opengraph.html" . -}} {{- template "_internal/twitter_cards.html" . -}} </head> @@ -15,6 +16,5 @@ </section> {{- partial "footer/footer.html" . -}} </div> - {{- partial "footer/scripts.html" . -}} </body> </html>
\ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html index 3b3f792..ee5e93e 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -4,6 +4,7 @@ {{- partial "head/metadata.html" . -}} {{- partial "head/css.html" . -}} {{- partial "head/rss.html" . -}} + {{- partial "head/scripts.html" . -}} {{- template "_internal/opengraph.html" . -}} {{- template "_internal/twitter_cards.html" . -}} </head> @@ -118,6 +119,5 @@ {{- partial "footer/footer.html" . -}} </div> - {{- partial "footer/scripts.html" . -}} </body> </html>
\ No newline at end of file diff --git a/layouts/partials/head/scripts.html b/layouts/partials/head/scripts.html new file mode 100644 index 0000000..7e60d35 --- /dev/null +++ b/layouts/partials/head/scripts.html @@ -0,0 +1,8 @@ +<!-- Scripts --> +<script src="{{ (resources.Get "js/jquery.min.js").Permalink }}"></script> +<script src="{{ (resources.Get "js/jquery.dropotron.min.js").Permalink }}"></script> +<script src="{{ (resources.Get "js/jquery.scrollex.min.js").Permalink }}"></script> +<script src="{{ (resources.Get "js/browser.min.js").Permalink }}"></script> +<script src="{{ (resources.Get "js/breakpoints.min.js").Permalink }}"></script> +<script src="{{ (resources.Get "js/util.js").Permalink }}"></script> +<script src="{{ (resources.Get "js/main.js").Permalink }}"></script>
\ No newline at end of file |