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();
|
||||
|
@ -90,48 +89,46 @@
|
|||
{% endif %}
|
||||
|
||||
<nav class="nav">
|
||||
<ul class="list-bare">
|
||||
<ul class="list-bare">
|
||||
|
||||
{% for name, link, blank in MENUITEMS %}
|
||||
{% if blank %}
|
||||
<li><a id="nav_{{ name | lower() }}" class="nav__link" href="{{ link }}" title="{{ name|striptags }}" target="_blank">{{ name }}</a></li>
|
||||
{% else %}
|
||||
<li><a id="nav_{{ name | lower() }}" class="nav__link" href="{{ link }}" title="{{ name|striptags }}">{{ name }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% for name, link, blank in MENUITEMS %}
|
||||
{% if blank %}
|
||||
<li><a id="nav_{{ name | lower() }}" class="nav__link" href="{{ link }}" title="{{ name|striptags }}" target="_blank">{{ name }}</a></li>
|
||||
{% else %}
|
||||
<li><a id="nav_{{ name | lower() }}" class="nav__link" href="{{ link }}" title="{{ name|striptags }}">{{ name }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% 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>
|
||||
{% 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 %}
|
||||
<li{% if cat == category %} class="active"{% endif %}><a
|
||||
href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<h2>Categories</h2>
|
||||
<ul class="navbar">
|
||||
{% for cat, null in categories %}
|
||||
<li{% if cat == category %} class="active"{% endif %}><a
|
||||
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>
|
||||
<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 %}
|
||||
|
||||
|
@ -148,28 +145,28 @@
|
|||
|
||||
<!-- Footer -->
|
||||
{% if DISPLAY_FOOTER or DISPLAY_FOOTER is not defined %}
|
||||
<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>
|
||||
<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>
|
||||
{% endif %}
|
||||
|
||||
{% if GOOGLE_ANALYTICS %}
|
||||
<!-- Analytics -->
|
||||
<script type="text/javascript">
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', '{{ GOOGLE_ANALYTICS }}']);
|
||||
_gaq.push(['_trackPageview']);
|
||||
(function () {
|
||||
var ga = document.createElement('script');
|
||||
ga.type = 'text/javascript';
|
||||
ga.async = true;
|
||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
</script>
|
||||
<!-- Analytics -->
|
||||
<script type="text/javascript">
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', '{{ GOOGLE_ANALYTICS }}']);
|
||||
_gaq.push(['_trackPageview']);
|
||||
(function () {
|
||||
var ga = document.createElement('script');
|
||||
ga.type = 'text/javascript';
|
||||
ga.async = true;
|
||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
</body>
|
||||
|
|
|
@ -90,49 +90,52 @@
|
|||
{% endif %}
|
||||
|
||||
<nav class="nav">
|
||||
<ul class="list-bare">
|
||||
<ul class="list-bare">
|
||||
|
||||
{% for name, link, blank in MENUITEMS %}
|
||||
{% if blank %}
|
||||
<li><a id="nav_{{ name | lower() }}" class="nav__link" href="{{ link }}" title="{{ name|striptags }}" target="_blank">{{ name }}</a></li>
|
||||
{% else %}
|
||||
<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>
|
||||
{% for name, link, blank in MENUITEMS %}
|
||||
{% if blank %}
|
||||
<li><a id="nav_{{ name | lower() }}" class="nav__link" href="{{ link }}" title="{{ name|striptags }}" target="_blank">{{ name }}</a></li>
|
||||
{% else %}
|
||||
<li><a id="nav_{{ name | lower() }}" class="nav__link" href="{{ link }}" title="{{ name|striptags }}">{{ name }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% 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 %}
|
||||
|
||||
</ul>
|
||||
{% 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 %}
|
||||
<h2>Categories</h2>
|
||||
<ul class="navbar">
|
||||
{% for cat, null in categories %}
|
||||
<li{% if cat == category %} class="active"{% endif %}><a
|
||||
href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<div class="categories">
|
||||
<h2>Categories</h2>
|
||||
<ul class="navbar">
|
||||
{% for cat, null in categories %}
|
||||
<li{% if cat == category %} class="active"{% endif %}><a
|
||||
href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if 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 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,28 +146,28 @@
|
|||
|
||||
<!-- Footer -->
|
||||
{% if DISPLAY_FOOTER or DISPLAY_FOOTER is not defined %}
|
||||
<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>
|
||||
<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>
|
||||
{% endif %}
|
||||
|
||||
{% if GOOGLE_ANALYTICS %}
|
||||
<!-- Analytics -->
|
||||
<script type="text/javascript">
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', '{{ GOOGLE_ANALYTICS }}']);
|
||||
_gaq.push(['_trackPageview']);
|
||||
(function () {
|
||||
var ga = document.createElement('script');
|
||||
ga.type = 'text/javascript';
|
||||
ga.async = true;
|
||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
</script>
|
||||
<!-- Analytics -->
|
||||
<script type="text/javascript">
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', '{{ GOOGLE_ANALYTICS }}']);
|
||||
_gaq.push(['_trackPageview']);
|
||||
(function () {
|
||||
var ga = document.createElement('script');
|
||||
ga.type = 'text/javascript';
|
||||
ga.async = true;
|
||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue