orgmode-to-gemini-blog/templates/html/article.html.j2

116 lines
4.6 KiB
Text
Raw Normal View History

2025-02-28 18:43:17 +01:00
2025-03-27 13:37:26 +01:00
{% include 'site_head.j2' %}
<body>
2025-03-27 13:37:26 +01:00
<div id="page" class="page_article page__{{template_content['PAGE_SLUG']}} ">
<header id=" masthead" class="site-header">
2025-02-28 16:37:59 +01:00
<div class="header-image" style="background-image: url('{{template_content["BANNIERE_ENTETE"]}}');
2025-02-19 22:52:44 +01:00
background-repeat: no-repeat; background-size: cover;">
<a href="/">
<img src="{{template_content['SITE_ICON']}}" class="site-icon img">
</a>
2025-02-20 16:09:39 +01:00
<h1 class="blog-title">{{template_content['BLOG_TITLE']}}
2025-02-20 14:53:59 +01:00
</h1>
2025-02-19 22:52:44 +01:00
<p class="blog-subtitle">{{template_content['BLOG_SUBTITLE']}}</p>
<div class="template-header">
</div>
</div>
<nav class="navbar is-fixed-top is-dark" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a class="navbar-item" href="{{template_content['NDD']}}">
{{template_content['NDD']}}
</a>
</div>
<div id="navbarBasicExample" class="navbar-menu">
<div class="navbar-start">
<a class="logo" href="{{template_content['NDD']}}">
<img src="{{template_content['SITE_ICON']}}" class="img-fluid">
</a>
{{template_content['NAVIGATION']}}
</div>
<div class="navbar-end">
<div class="navbar-item">
<form role="search" method="get" class="search-form" action="/" id="recherche">
<label>
<input class="search-field" placeholder="Recherche" value="" name="s" type="search">
</label>
<input class="is-hidden search-submit" value="Rechercher" type="submit">
</form>
</div>
</div>
</div>
</nav>
</header>
<main class="body-wrap boxed-container">
2025-02-19 23:10:28 +01:00
<article class="content">
<h1 class="article-title">
{{ article.title }}
</h1>
2025-02-20 14:53:59 +01:00
<div class="article-main-content">{{ article.html_content | safe }}</div>
2025-02-19 22:52:44 +01:00
<div class="article-date">
2025-02-19 23:10:28 +01:00
{{article.date_formattee}}
2025-02-19 22:52:44 +01:00
</div>
2025-02-20 14:53:59 +01:00
2025-02-19 22:52:44 +01:00
<div class="article-tags">
2025-02-20 14:53:59 +01:00
{% if article.tags %}
2025-02-19 22:52:44 +01:00
Tags:
{% for tag in article.tags %}
<a href="/tag/{{ tag }}">{{ tag }}</a>
2025-02-19 22:52:44 +01:00
{% endfor %}
{% endif %}
</div>
</article>
2025-02-19 23:10:28 +01:00
2025-02-19 22:52:44 +01:00
<hr />
2025-02-19 23:10:28 +01:00
<div class="article-navigation">
{% if article.previous %}
<a href="/{{ all_articles[article.previous].slug_with_year }}" class="previous-article">
2025-02-20 14:53:59 +01:00
Article précédent:
<div class="next-acticle-title">
{{all_articles[article.previous].annee}} {{all_articles[article.previous].title}}</div>
2025-02-20 14:53:59 +01:00
</a>
2025-02-19 23:10:28 +01:00
{% endif %}
{% if article.next %}
<a href="/{{ all_articles[article.next].slug_with_year }}" class="next-article">Article suivant:
<div class="next-acticle-title">{{all_articles[article.next].annee}}
{{all_articles[article.next].title}}</div>
2025-02-20 14:53:59 +01:00
</a>
2025-02-19 23:10:28 +01:00
{% endif %}
2025-02-19 22:52:44 +01:00
</div>
2025-02-19 23:11:15 +01:00
<div class="retour-accueil">
<a href="/">Retour à l'accueil</a>
</div>
2025-02-19 22:52:44 +01:00
</main>
<footer class="site-footer has-top-divider">
<div class="container">
<div class="site-footer-inner">
2025-02-22 18:55:01 +01:00
<div class="site-foot-soutien">
{{template_content['SOUTIEN']}}
</div>
<nav class="footer-nav">
{{template_content['NAVIGATION']}}
<a href="/tags/">Tags</a>
<a href="{{template_content['NDD']}}/feed/">Flux Atom</a>
</nav>
2025-02-25 00:38:02 +01:00
<div class="site-foot-source">
2025-02-28 18:43:17 +01:00
<a href="{{template_content['SOURCE']}}">source du blog</a>
2025-02-25 00:38:02 +01:00
</div>
</div>
</div>
</footer>
</div>
</body>
<!-- généré avec orgmode-to-gemini-blog par Tykayn -->
</html>