7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-12-04 11:30:35 +00:00
This commit is contained in:
Tiago Carrondo 2021-11-09 20:15:13 +00:00
parent 98aa4b0acc
commit abfd3bbda2

View File

@ -1,43 +1,37 @@
<!DOCTYPE html>
<html lang="{{ site.LanguageCode | default " en-us" }}">
{{ partial "site_head" . }}
<html lang="{{ site.LanguageCode | default "en-us" }}">
{{ partial "site_head" . }}
<body>
<nav class="main">
<div class="body-width">
<a class="menu" href="#" onclick="this.parentNode.parentNode.classList.toggle('menu--expanded'); return false;"><img src="{{ (resources.Get "images/menu.svg").Permalink }}"></a>
<a href="{{ (site.GetPage "").Permalink }}"><img src="{{ (resources.Get "images/logo.svg").Permalink }}" alt="Associação Nacional para o Software Livre" /></a>
<ul class='sections'>
<li><a href="{{ (site.GetPage "Section" "noticias").Permalink }}">Notícias</a></li>
<li><a href="{{ (site.GetPage "Section" "iniciativas").Permalink }}">Iniciativas</a></li>
<li><a href="{{ (site.GetPage "politica").Permalink }}">Política</a></li>
<li><a href="{{ (site.GetPage "Section" "eventos").Permalink }}">Eventos</a></li>
<li><a href="{{ (site.GetPage "sobre").Permalink }}">Sobre</a></li>
</ul>
<a class='nav-search' href="#" onclick="document.querySelector('body').classList.toggle('searching'); return false;">Pesquisar</a>
</div>
</nav>
<main>
{{ block "main" . }}{{ end }}
</main>
<body>
<nav class="main">
<div class="body-width">
<a class="menu" href="#"
onclick="this.parentNode.parentNode.classList.toggle('menu--expanded'); return false;"><img
src="{{ (resources.Get " images/menu.svg").Permalink }}"></a>
<a href="{{ (site.GetPage "").Permalink }}"><img src="{{ (resources.Get " images/logo.svg").Permalink }}"
alt="Associação Nacional para o Software Livre" /></a>
<ul class='sections'>
<li><a href="{{ (site.GetPage " Section" "noticias" ).Permalink }}">Notícias</a></li>
<li><a href="{{ (site.GetPage " Section" "iniciativas" ).Permalink }}">Iniciativas</a></li>
<li><a href="{{ (site.GetPage " politica").Permalink }}">Política</a></li>
<li><a href="{{ (site.GetPage " Section" "eventos" ).Permalink }}">Eventos</a></li>
<li><a href="{{ (site.GetPage " sobre").Permalink }}">Sobre</a></li>
</ul>
<a class='nav-search' href="#"
onclick="document.querySelector('body').classList.toggle('searching'); return false;">Pesquisar</a>
</div>
</nav>
<main>
{{ block "main" . }}{{ end }}
</main>
{{ partial "search" . }}
{{ partial "site_js" . }}
<footer>
<div class="body-width">
<p>Copyright 2001 &mdash; 2021 ANSOL</p>
<p>Associação Nacional para o Software Livre</p>
<p><a href="{{ (site.GetPage " contactos").Permalink }}">Contactos</a></p>
<p><a href="{{ (site.GetPage " orgaos-sociais").Permalink }}">Órgãos sociais</a></p>
<p><a href="https://gitlab.com/ansol/web-ansol.org">Código fonte</a></p>
<p><a href="{{ (site.GetPage " licenca").Permalink }}">Licenças e atribuições</a></p>
</div>
</footer>
</body>
{{ partial "search" . }}
{{ partial "site_js" . }}
<footer>
<div class="body-width">
<p>Copyright 2001 &mdash; 2021 ANSOL</p>
<p>Associação Nacional para o Software Livre</p>
<p><a href="{{ (site.GetPage "contactos").Permalink }}">Contactos</a></p>
<p><a href="{{ (site.GetPage "orgaos-sociais").Permalink }}">Órgãos sociais</a></p>
<p><a href="https://gitlab.com/ansol/web-ansol.org">Código fonte</a></p>
<p><a href="{{ (site.GetPage "licenca").Permalink }}">Licenças e atribuições</a></p>
</div>
</footer>
</body>
</html>