diff options
author | Michael Grosser <development@stp-ip.net> | 2017-06-28 10:29:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-28 10:29:45 +0300 |
commit | f4bef4e9e0c46f434b7f8b1e8654628736be5fcd (patch) | |
tree | afc0a3996ed51391e6896990843a4b6a5c6b9889 | |
parent | 5e48b6c8cf59bf55a558e9c908e820bfc84cea48 (diff) | |
parent | 3e7defd571af7327ca59fd872b2fa968f97ec483 (diff) |
Merge pull request #16 from stp-ip/upstreamChanges
Improve js loading
-rw-r--r-- | exampleSite/config.toml | 6 | ||||
-rw-r--r-- | layouts/partials/footer_scripts.html | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 71647d8..d0a2ed4 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -12,12 +12,12 @@ disableKinds = ["page", "section", "taxonomy", "taxonomyTerm", "RSS", "sitemap", #googleAnalytics = "UA-XXXXX-Y" [params] - + # Images settings # Icons, backgrounds and avatars folders are placed in theme's static/images folder. # You may place your images in corresponding folders and then set only filenames below to # change page's appearance - + # Site icons favicon_ico = "favicon.ico" favicon_ico_sizes = "16x16 32x32" @@ -55,7 +55,7 @@ disableKinds = ["page", "section", "taxonomy", "taxonomyTerm", "RSS", "sitemap", Even new lines and other markdown styles are working within the bio.""" # Contact form settings - + [params.contact] # Since this template is static, the contact form uses www.formspree.io as a # proxy. The form makes a POST request to their servers to send the actual diff --git a/layouts/partials/footer_scripts.html b/layouts/partials/footer_scripts.html index b07bbd9..8908f36 100644 --- a/layouts/partials/footer_scripts.html +++ b/layouts/partials/footer_scripts.html @@ -9,9 +9,9 @@ {{ if .Site.Params.contact.enable }} {{ "<!-- Form Validation -->" | safeHTML }} - <script src="{{ "assets/js/jquery-v3.3.1/jquery.min.js" | absURL }}" async></script> - <script src="{{ "assets/js/bootstrap-v3.3.7/bootstrap.min.js" | absURL }}" async></script> - <script src="{{ "assets/js/jquery.form-validator-v2.3.44/jquery.form-validator.min.js" | absURL }}" async></script> + <script src="{{ "assets/js/jquery-v3.3.1/jquery.min.js" | absURL }}"></script> + <script src="{{ "assets/js/bootstrap-v3.3.7/bootstrap.min.js" | absURL }}" async defer></script> + <script src="{{ "assets/js/jquery.form-validator-v2.3.44/jquery.form-validator.min.js" | absURL }}" async defer></script> <script src="{{ "assets/js/contact.js" | absURL }}" async defer></script> {{ end }} |