Allineamento template delle due pagine.
This commit is contained in:
parent
b919b80140
commit
afed6a1854
|
@ -41,7 +41,6 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
<script src="https://kit.fontawesome.com/0a2f7dbe4a.js" crossorigin="anonymous"></script>
|
<script src="https://kit.fontawesome.com/0a2f7dbe4a.js" crossorigin="anonymous"></script>
|
||||||
<script src="/js/jquery-3.5.1.min.js" crossorigin="anonymous"></script>
|
<script src="/js/jquery-3.5.1.min.js" crossorigin="anonymous"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function mobileMenu() {
|
function mobileMenu() {
|
||||||
$( "nav.nav" ).toggle();
|
$( "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="/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="/social" title="Social Media">Social Media</a></li>
|
||||||
<li class="mobile-only"><a class="nav__link" href="/colophon" title="Colophon">Colophon</a></li>
|
<li class="mobile-only"><a class="nav__link" href="/colophon" title="Colophon">Colophon</a></li>
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<script src="/js/livepointers.js" type="text/javascript"></script>
|
<script src="/js/livepointers.js" type="text/javascript"></script>
|
||||||
</nav>
|
</nav>
|
||||||
|
@ -148,16 +145,16 @@
|
||||||
|
|
||||||
<!-- Footer -->
|
<!-- Footer -->
|
||||||
{% if DISPLAY_FOOTER or DISPLAY_FOOTER is not defined %}
|
{% 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/>
|
<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>
|
<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>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if GOOGLE_ANALYTICS %}
|
{% if GOOGLE_ANALYTICS %}
|
||||||
<!-- Analytics -->
|
<!-- Analytics -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var _gaq = _gaq || [];
|
var _gaq = _gaq || [];
|
||||||
_gaq.push(['_setAccount', '{{ GOOGLE_ANALYTICS }}']);
|
_gaq.push(['_setAccount', '{{ GOOGLE_ANALYTICS }}']);
|
||||||
_gaq.push(['_trackPageview']);
|
_gaq.push(['_trackPageview']);
|
||||||
|
@ -169,7 +166,7 @@
|
||||||
var s = document.getElementsByTagName('script')[0];
|
var s = document.getElementsByTagName('script')[0];
|
||||||
s.parentNode.insertBefore(ga, s);
|
s.parentNode.insertBefore(ga, s);
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -99,18 +99,19 @@
|
||||||
<li><a id="nav_{{ name | lower() }}" class="nav__link" href="{{ link }}" title="{{ name|striptags }}">{{ name }}</a></li>
|
<li><a id="nav_{{ name | lower() }}" class="nav__link" href="{{ link }}" title="{{ name|striptags }}">{{ name }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% 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 %}
|
{% if DISPLAY_PAGES_ON_MENU and pages %}{% for p in pages %}
|
||||||
<li><a class="nav__link" href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
|
<li><a class="nav__link" href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
|
||||||
{% endfor %}{% endif %}
|
{% 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>
|
</ul>
|
||||||
|
<script src="/js/livepointers.js" type="text/javascript"></script>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{% if DISPLAY_CATEGORIES_ON_MENU and categories %}
|
{% if DISPLAY_CATEGORIES_ON_MENU and categories %}
|
||||||
|
<div class="categories">
|
||||||
<h2>Categories</h2>
|
<h2>Categories</h2>
|
||||||
<ul class="navbar">
|
<ul class="navbar">
|
||||||
{% for cat, null in categories %}
|
{% for cat, null in categories %}
|
||||||
|
@ -118,21 +119,23 @@
|
||||||
href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if LINKS %}
|
{% if LINKS %}
|
||||||
|
<div class="links">
|
||||||
<h2 class="blog_roll_link"><br/>BLOGROLLS</h2>
|
<h2 class="blog_roll_link"><br/>BLOGROLLS</h2>
|
||||||
<ul class="navbar">
|
<ul class="navbar">
|
||||||
{% for name, link in LINKS %}
|
{% for name, link in LINKS %}
|
||||||
<li><a href="{{ link }}">{{ name }}</a></li>
|
<li><a href="{{ link }}">{{ name }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% include "partners.html" %}
|
{% include "partners.html" %}
|
||||||
{% include "social.html" %}
|
{% include "social.html" %}
|
||||||
{% include "license.html" %}
|
{% include "license.html" %}
|
||||||
|
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
<!-- Content -->
|
<!-- Content -->
|
||||||
|
@ -143,16 +146,16 @@
|
||||||
|
|
||||||
<!-- Footer -->
|
<!-- Footer -->
|
||||||
{% if DISPLAY_FOOTER or DISPLAY_FOOTER is not defined %}
|
{% 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/>
|
<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>
|
<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>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if GOOGLE_ANALYTICS %}
|
{% if GOOGLE_ANALYTICS %}
|
||||||
<!-- Analytics -->
|
<!-- Analytics -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var _gaq = _gaq || [];
|
var _gaq = _gaq || [];
|
||||||
_gaq.push(['_setAccount', '{{ GOOGLE_ANALYTICS }}']);
|
_gaq.push(['_setAccount', '{{ GOOGLE_ANALYTICS }}']);
|
||||||
_gaq.push(['_trackPageview']);
|
_gaq.push(['_trackPageview']);
|
||||||
|
@ -164,7 +167,7 @@
|
||||||
var s = document.getElementsByTagName('script')[0];
|
var s = document.getElementsByTagName('script')[0];
|
||||||
s.parentNode.insertBefore(ga, s);
|
s.parentNode.insertBefore(ga, s);
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue