Allineamento template delle due pagine.
This commit is contained in:
parent
b919b80140
commit
afed6a1854
@ -41,7 +41,6 @@
|
||||
{% endblock %}
|
||||
<script src="https://kit.fontawesome.com/0a2f7dbe4a.js" crossorigin="anonymous"></script>
|
||||
<script src="/js/jquery-3.5.1.min.js" crossorigin="anonymous"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
function mobileMenu() {
|
||||
$( "nav.nav" ).toggle();
|
||||
@ -106,8 +105,6 @@
|
||||
<li class="mobile-only"><a class="nav__link" href="/partners" title="Partners">Partners</a></li>
|
||||
<li class="mobile-only"><a class="nav__link" href="/social" title="Social Media">Social Media</a></li>
|
||||
<li class="mobile-only"><a class="nav__link" href="/colophon" title="Colophon">Colophon</a></li>
|
||||
|
||||
|
||||
</ul>
|
||||
<script src="/js/livepointers.js" type="text/javascript"></script>
|
||||
</nav>
|
||||
@ -148,16 +145,16 @@
|
||||
|
||||
<!-- Footer -->
|
||||
{% if DISPLAY_FOOTER or DISPLAY_FOOTER is not defined %}
|
||||
<footer>
|
||||
<footer>
|
||||
<p>I contenuti del sito sono tutti rilasciati con licenza <a href="https://creativecommons.org/licenses/by/3.0/it/" title="Creative Commons - Attiribuzione 3.0">CC BY 3.0</a><br/>
|
||||
<a href="https://creativecommons.org/licenses/by/3.0/it/" title="Creative Commons - Attiribuzione 3.0"><img src="https://i0.wp.com/www.libreitalia.org/wp-content/uploads/2017/11/by.png?fit=249%2C87&ssl=1" alt="Creative Commons BY Logo" /></a>
|
||||
</p>
|
||||
</footer>
|
||||
</footer>
|
||||
{% endif %}
|
||||
|
||||
{% if GOOGLE_ANALYTICS %}
|
||||
<!-- Analytics -->
|
||||
<script type="text/javascript">
|
||||
<!-- Analytics -->
|
||||
<script type="text/javascript">
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', '{{ GOOGLE_ANALYTICS }}']);
|
||||
_gaq.push(['_trackPageview']);
|
||||
@ -169,7 +166,7 @@
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
</script>
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
</body>
|
||||
|
@ -99,18 +99,19 @@
|
||||
<li><a id="nav_{{ name | lower() }}" class="nav__link" href="{{ link }}" title="{{ name|striptags }}">{{ name }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<li class="mobile-only"><a class="nav__link" href="/partners" title="Partners">Partners</a></li>
|
||||
<li class="mobile-only"><a class="nav__link" href="/social" title="Social Media">Social Media</a></li>
|
||||
<li class="mobile-only"><a class="nav__link" href="/colophon" title="Colophon">Colophon</a></li>
|
||||
|
||||
{% if DISPLAY_PAGES_ON_MENU and pages %}{% for p in pages %}
|
||||
<li><a class="nav__link" href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
|
||||
{% endfor %}{% endif %}
|
||||
|
||||
<li class="mobile-only"><a class="nav__link" href="/partners" title="Partners">Partners</a></li>
|
||||
<li class="mobile-only"><a class="nav__link" href="/social" title="Social Media">Social Media</a></li>
|
||||
<li class="mobile-only"><a class="nav__link" href="/colophon" title="Colophon">Colophon</a></li>
|
||||
</ul>
|
||||
<script src="/js/livepointers.js" type="text/javascript"></script>
|
||||
</nav>
|
||||
|
||||
{% if DISPLAY_CATEGORIES_ON_MENU and categories %}
|
||||
<div class="categories">
|
||||
<h2>Categories</h2>
|
||||
<ul class="navbar">
|
||||
{% for cat, null in categories %}
|
||||
@ -118,21 +119,23 @@
|
||||
href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if LINKS %}
|
||||
<div class="links">
|
||||
<h2 class="blog_roll_link"><br/>BLOGROLLS</h2>
|
||||
<ul class="navbar">
|
||||
{% for name, link in LINKS %}
|
||||
<li><a href="{{ link }}">{{ name }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% include "partners.html" %}
|
||||
{% include "social.html" %}
|
||||
{% include "license.html" %}
|
||||
|
||||
</aside>
|
||||
|
||||
<!-- Content -->
|
||||
@ -143,16 +146,16 @@
|
||||
|
||||
<!-- Footer -->
|
||||
{% if DISPLAY_FOOTER or DISPLAY_FOOTER is not defined %}
|
||||
<footer>
|
||||
<footer>
|
||||
<p>I contenuti del sito sono tutti rilasciati con licenza <a href="https://creativecommons.org/licenses/by/3.0/it/" title="Creative Commons - Attiribuzione 3.0">CC BY 3.0</a><br/>
|
||||
<a href="https://creativecommons.org/licenses/by/3.0/it/" title="Creative Commons - Attiribuzione 3.0"><img src="https://i0.wp.com/www.libreitalia.org/wp-content/uploads/2017/11/by.png?fit=249%2C87&ssl=1" alt="Creative Commons BY Logo" /></a>
|
||||
</p>
|
||||
</footer>
|
||||
</footer>
|
||||
{% endif %}
|
||||
|
||||
{% if GOOGLE_ANALYTICS %}
|
||||
<!-- Analytics -->
|
||||
<script type="text/javascript">
|
||||
<!-- Analytics -->
|
||||
<script type="text/javascript">
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', '{{ GOOGLE_ANALYTICS }}']);
|
||||
_gaq.push(['_trackPageview']);
|
||||
@ -164,7 +167,7 @@
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
</script>
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user