This commit is contained in:
commit
57e36978f6
7 changed files with 158 additions and 0 deletions
41
templates/base.html
Normal file
41
templates/base.html
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="es">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% block title %}{{ config.title }}{% endblock title %}</title>
|
||||
<style>
|
||||
body {
|
||||
background-color: #1a1a1a;
|
||||
color: #e0e0e0;
|
||||
font-family: 'Courier New', Courier, monospace; /* Estética terminal */
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 2rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
a { color: #fe8019; text-decoration: none; } /* Naranja Rust/Gruvbox */
|
||||
a:hover { text-decoration: underline; }
|
||||
h1, h2, h3 { color: #fabd2f; }
|
||||
nav { margin-bottom: 2rem; border-bottom: 1px solid #333; padding-bottom: 1rem; }
|
||||
footer { margin-top: 4rem; font-size: 0.8rem; color: #666; border-top: 1px solid #333; padding-top: 1rem; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<a href="/"><strong>~/alejandrogs.es</strong></a>
|
||||
<span style="float: right;">
|
||||
<a href="/blog">Blog</a> |
|
||||
<a href="{{ config.extra.github }}">GitHub</a>
|
||||
</span>
|
||||
</nav>
|
||||
|
||||
<main>
|
||||
{% block content %}{% endblock content %}
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<p>© 2025 Alejandro GS. Hecho con <a href="https://www.getzola.org">Zola</a> y Honor.</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue