Allineamento template delle due pagine.

This commit is contained in:
Emiliano Vavassori 2021-12-01 21:19:22 +01:00
parent b919b80140
commit afed6a1854
2 changed files with 100 additions and 100 deletions

View File

@ -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>

View File

@ -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 -->