chore(website): migrate from docosaurus to zola SSG

This commit is contained in:
Alexander Navarro 2024-12-23 11:16:33 -03:00
parent 13679f77ca
commit 7e8dc4ec5a
49 changed files with 341 additions and 1523 deletions

View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang={i18next.language}>
<head>
<meta charset="UTF-8" />
<meta name="description" content="Astro description" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<HeadHrefLangs />
<title>{title}</title>
<ViewTransitions />
<link rel="stylesheet" href="style.css" />
</head>
<body transition:animate="fade">
<header class="position-sticky py-1 py-lg-3">
<Navbar />
</header>
<main>
{% block content %}{% endblock %}
</main>
</body>
</html>

View file

@ -0,0 +1,13 @@
{% extends "base.html" %}
{% block content %}
{{section.content | safe}}
<ul>
{% for sub in section.subsections %}
{% set sub = get_section(path=sub, metadata_only=true) %}
<li><a href="{{sub.permalink}}">{{sub.title | safe}}</a></li>
{% endfor %}
</ul>
{% endblock content %}

View file

@ -0,0 +1,6 @@
{% extends "base.html" %}
{% block content %}
{{page.content | safe}}
{% endblock content %}

View file

@ -0,0 +1,12 @@
{% extends "base.html" %}
{% block content %}
{{section.content | safe}}
<ul>
{% for page in section.pages %}
<li><a href="{{page.permalink}}">{{page.path | safe}}</a></li>
{% endfor %}
</ul>
{% endblock content %}