diff options
| author | Adonay Felipe Nogueira (http://libreplanet.org/wiki/User:Adfeno) <adfeno.7046@gmail.com> | 2026-04-26 17:31:30 -0300 |
|---|---|---|
| committer | Adonay Felipe Nogueira (http://libreplanet.org/wiki/User:Adfeno) <adfeno.7046@gmail.com> | 2026-04-26 17:31:30 -0300 |
| commit | 259182720f63bbcbe258de37c9f494c085a2546f (patch) | |
| tree | c14622f93375fd4f5a080d47f8510fbdcd2ec40f /templates/base.html | |
| parent | 7de36fb647018c582f9de9a442c4e498df62515b (diff) | |
| download | website-259182720f63bbcbe258de37c9f494c085a2546f.tar.gz website-259182720f63bbcbe258de37c9f494c085a2546f.tar.bz2 website-259182720f63bbcbe258de37c9f494c085a2546f.zip | |
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 37 |
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> |
