summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorAdonay Felipe Nogueira (http://libreplanet.org/wiki/User:Adfeno) <adfeno.7046@gmail.com>2026-04-26 17:31:30 -0300
committerAdonay Felipe Nogueira (http://libreplanet.org/wiki/User:Adfeno) <adfeno.7046@gmail.com>2026-04-26 17:31:30 -0300
commit259182720f63bbcbe258de37c9f494c085a2546f (patch)
treec14622f93375fd4f5a080d47f8510fbdcd2ec40f /templates/base.html
parent7de36fb647018c582f9de9a442c4e498df62515b (diff)
downloadwebsite-master.tar.gz
website-master.tar.bz2
website-master.zip
Adiciona conteúdo do repositório provisórioHEADmaster
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..c25a275
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html lang="pt-br">
+ <head>
+ {%- block cabeca %}
+ <meta charset="utf-8" />
+ <link rel="stylesheet" href="{{ url_for('static', filename = 'base.css') }}" />
+ {%- endblock %}
+ <title>{% block titulo required %}{% endblock %} — {{ organizacao }}</title>
+ </head>
+ <body>
+ <header>
+ <h1>{{ organizacao }}</h1>
+ <nav aria-label="Menu de navegação">
+ {%- set navegacao = [
+ ('/index.html', 'Sobre'),
+ ('/estatuto.html', 'Estatuto'),
+ ('/regimento-interno.html', 'Regimento Interno'),
+ ('/contato.html', 'Contato')
+ ] %}
+ <ul>{% for endereco, nome in navegacao %}
+ {%- if request.path is defined and request.path == endereco %}
+ <li><a aria-current="page" href="{{ endereco }}">{{ nome }}</a></li>
+ {%- else %}
+ <li><a href="{{ endereco }}">{{ nome }}</a></li>
+ {%- endif -%}
+ {% endfor -%}</ul>
+ </nav>
+ </header>
+ <div>
+ <main id="principal" aria-labelledby="titulo">
+ <h2 id="titulo">{{ self.titulo() }}</h2>
+ {%- block principal required %}{% endblock -%}
+ {%- if self.extra() %}<section class="nao-contar">{%- block extra %}{% endblock -%}</section>{% endif -%}
+ </main>
+ </div>
+ </body>
+</html>