mono-3d.fr/templates/base.html

71 lines
3.3 KiB
HTML
Raw Normal View History

2026-04-15 03:58:05 +02:00
{% import "macros/doc.html" as doc %}
{% import "macros/trans.html" as trans %}
<!DOCTYPE html>
<html lang="{{ lang }}">
<head>
{% include "partials/head.html" -%}
</head>
<body>
<main {% include "partials/lang_attr.html" -%} >
2026-04-16 05:22:41 +02:00
<div class="section">
<div class="container is-desktop">
<div class="columns is-centered is-desktop">
<div class="column is-narrow is-two-third-touch">
<!-- Logo card -->
<div class="card has-background-primary-light" style="position: sticky; top: 3em;">
<div class="card-content">
<div class="media">
<div class="media-left">
<a href="/">
<figure class="image is-1by1 is-128x128">
<img class="is-rounded" src="/img/glitch.png" alt="A glitched image"></img>
</figure>
</a>
</div>
<div class="media-content">
<h1 class="title is-1 has-text-primary-dark has-text-right">{{ config.title }}</h1>
<p class="subtitle is-4 has-text-primary-dark has-text-right">Créatrice d'objets singuliers</p>
<div class="buttons has-addons is-pulled-right">
{%- if false or ( current_path and current_path != "/" ) -%}
2026-04-19 04:06:15 +02:00
<button class="button is-link is-outlined is-pulled-right">
<span class="icon-text">
<span class="icon">
<i class="ph ph-house"></i>
</span>
<span><a class="" href="/">Accueil</a></span>
</span>
</button>
2026-04-16 05:22:41 +02:00
{%- endif -%}
{%- if not page or page and not page.title == "Contact" -%}
2026-04-19 04:06:15 +02:00
<button class="button is-link is-outlined is-pulled-right">
<span class="icon-text">
<span class="icon">
<i class="ph ph-envelope-simple"></i>
</span>
<span><a class="" href="/contact">Me contacter</a></span>
</span>
</button>
2026-04-16 05:22:41 +02:00
{%- endif -%}
</div>
</div>
</div>
</div>
</div>
</div>
<div class="column is-full-until-widescreen is-offset-one-third">
<!-- Actual content -->
{%- block content %} {% endblock content -%}
</div>
</div>
</div>
</div>
2026-04-15 03:58:05 +02:00
</main>
<footer class="footer">
<div class="content has-text-centered">
{% include "partials/footer.html" -%}
</div>
</footer>
</body>
</html>