* [gentoo-commits] sites/www:master commit in: _layouts/
@ 2015-07-22 14:35 Alex Legler
0 siblings, 0 replies; 2+ messages in thread
From: Alex Legler @ 2015-07-22 14:35 UTC (permalink / raw
To: gentoo-commits
commit: 8fd4b72648859faa42d7e6d08ccbb0a4664ed12f
Author: Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Wed Jul 22 14:34:34 2015 +0000
Commit: Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Wed Jul 22 14:34:34 2015 +0000
URL: https://gitweb.gentoo.org/sites/www.git/commit/?id=8fd4b726
Move larger scripts to the very end of the page
_layouts/tyrian.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/_layouts/tyrian.html b/_layouts/tyrian.html
index 3e7d232..96a9a90 100644
--- a/_layouts/tyrian.html
+++ b/_layouts/tyrian.html
@@ -14,9 +14,6 @@
{% include layout/footer.html %}
- <script src="{{ site.cdnurl }}/jquery.min.js"></script>
- <script src="{{ site.cdnurl }}/bootstrap.min.js"></script>
- {% if page.extrajs %}{% for js in page.extrajs %}<script src="/assets/js/{{ js }}"></script>{% endfor %}{% endif %}
{% if page.inlinejs %}<script>{{ page.inlinejs }}</script>{% endif %}
<script type="text/javascript">
var _paq = _paq || [];
@@ -31,5 +28,8 @@
})();
</script>
<noscript><p><img src="//piwik.gentoo.org/piwik.php?idsite=7" style="border:0;" alt="" /></p></noscript>
+ <script src="{{ site.cdnurl }}/jquery.min.js"></script>
+ <script src="{{ site.cdnurl }}/bootstrap.min.js"></script>
+ {% if page.extrajs %}{% for js in page.extrajs %}<script src="/assets/js/{{ js }}"></script>{% endfor %}{% endif %}
</body>
</html>
\ No newline at end of file
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] sites/www:master commit in: _layouts/
@ 2015-08-03 21:05 Alex Legler
0 siblings, 0 replies; 2+ messages in thread
From: Alex Legler @ 2015-08-03 21:05 UTC (permalink / raw
To: gentoo-commits
commit: 3978ab9809ecff135d74fd1e1cec5e5728133ca7
Author: Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Mon Aug 3 21:04:42 2015 +0000
Commit: Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Mon Aug 3 21:04:42 2015 +0000
URL: https://gitweb.gentoo.org/sites/www.git/commit/?id=3978ab98
Inline scripts go after jquery and bootstrap's js
_layouts/tyrian.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/_layouts/tyrian.html b/_layouts/tyrian.html
index 96a9a90..52c89ef 100644
--- a/_layouts/tyrian.html
+++ b/_layouts/tyrian.html
@@ -14,7 +14,6 @@
{% include layout/footer.html %}
- {% if page.inlinejs %}<script>{{ page.inlinejs }}</script>{% endif %}
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(["disableCookies"]);
@@ -31,5 +30,6 @@
<script src="{{ site.cdnurl }}/jquery.min.js"></script>
<script src="{{ site.cdnurl }}/bootstrap.min.js"></script>
{% if page.extrajs %}{% for js in page.extrajs %}<script src="/assets/js/{{ js }}"></script>{% endfor %}{% endif %}
+ {% if page.inlinejs %}<script>{{ page.inlinejs }}</script>{% endif %}
</body>
</html>
\ No newline at end of file
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-03 21:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-03 21:05 [gentoo-commits] sites/www:master commit in: _layouts/ Alex Legler
-- strict thread matches above, loose matches on Subject: below --
2015-07-22 14:35 Alex Legler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox