update: sample templates
This commit is contained in:
parent
eaff212b63
commit
cf24e968ca
3 changed files with 66 additions and 0 deletions
26
templates/base.html
Normal file
26
templates/base.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="pt-br">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>
|
||||
{% block title %}Meu Site{% endblock %}
|
||||
</title>
|
||||
<style>
|
||||
body { font-family: Arial, sans-serif; margin: 40px; }
|
||||
header { background: #333; color: white; padding: 20px; }
|
||||
nav ul { list-style: none; padding: 0; }
|
||||
nav li { display: inline; margin: 0 10px; }
|
||||
nav a { color: white; text-decoration: none; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
{% include "partials/header.html" %}
|
||||
<main>
|
||||
{% block content %}<p>Conteúdo padrão</p>{% endblock %}
|
||||
</main>
|
||||
<footer>
|
||||
<p>© 2025 - Feito com ❤️ e Zig</p>
|
||||
<span>{% now "d/m/Y H:i:s" %}</span>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue