diff options
author | Valentin Popov <info@valentineus.link> | 2018-09-30 06:33:46 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2018-09-30 06:33:46 +0300 |
commit | b5db7d13b616d76aca086136dc7148b579cbd063 (patch) | |
tree | 8f0c10ab01bdf0edc0a4f2e6904940b9c08920dc | |
parent | 3c77c6d356788884d1467fdfc07c854c50b7bf63 (diff) | |
download | popov.link-b5db7d13b616d76aca086136dc7148b579cbd063.tar.xz popov.link-b5db7d13b616d76aca086136dc7148b579cbd063.zip |
Transferring scripts to the basement of the site
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | _includes/head.html | 5 | ||||
-rw-r--r-- | _includes/javascript.html | 3 | ||||
-rw-r--r-- | _layouts/default.html | 16 |
3 files changed, 12 insertions, 12 deletions
diff --git a/_includes/head.html b/_includes/head.html index 8b175eb..6027140 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -39,9 +39,4 @@ <script defer type="text/javascript" src="{{ '/assets/javascript/html5shiv-3.7.3.min.js' | relative_url | uri_escape }}"></script> <script defer type="text/javascript" src="{{ '/assets/javascript/respond-1.4.2.min.js' | relative_url | uri_escape }}"></script> <![endif]--> - - <!-- JavaScript --> - <script defer type="text/javascript" src="{{ '/assets/javascript/jquery-1.12.4.min.js' | relative_url | uri_escape }}"></script> - <script defer type="text/javascript" src="{{ '/assets/javascript/bootstrap-3.3.7.min.js' | relative_url | uri_escape }}"></script> - <script defer type="text/javascript" src="{{ '/assets/javascript/doT-1.1.0.min.js' | relative_url | uri_escape }}"></script> </head> diff --git a/_includes/javascript.html b/_includes/javascript.html new file mode 100644 index 0000000..8875b53 --- /dev/null +++ b/_includes/javascript.html @@ -0,0 +1,3 @@ +<script defer type="text/javascript" src="{{ '/assets/javascript/jquery-1.12.4.min.js' | relative_url | uri_escape }}"></script> +<script defer type="text/javascript" src="{{ '/assets/javascript/bootstrap-3.3.7.min.js' | relative_url | uri_escape }}"></script> +<script defer type="text/javascript" src="{{ '/assets/javascript/doT-1.1.0.min.js' | relative_url | uri_escape }}"></script> diff --git a/_layouts/default.html b/_layouts/default.html index f202269..1c43cad 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -5,15 +5,17 @@ layout: compress <!DOCTYPE html> <html class="no-js" lang="{{ site.lang | strip_newlines | strip_html | strip | slugify }}"> - {% include head.html %} +{% include head.html %} - <body> - {% include navbar.html %} +<body> + {% include navbar.html %} - <main class="container" role="main"> - {{ content }} - </main> + <main class="container" role="main"> + {{ content }} + </main> - </body> + <!-- JavaScript --> + {% include javascript.html %} +</body> </html> |