mirror of
https://forge.chapril.org/tykayn/orgmode-to-gemini-blog
synced 2025-06-20 09:04:42 +02:00
up image sur index
This commit is contained in:
parent
7ede171188
commit
8e32423dce
10 changed files with 516 additions and 321 deletions
|
@ -35,7 +35,9 @@
|
|||
<a href="/">
|
||||
<img src="{{template_content['SITE_ICON']}}" class="site-icon img">
|
||||
</a>
|
||||
<h1 class="blog-title">{{template_content['BLOG_TITLE']}}</h1>
|
||||
<h1 class="blog-title">{{ article.title | safe }} - {{template_content['BLOG_TITLE']}}
|
||||
|
||||
</h1>
|
||||
<p class="blog-subtitle">{{template_content['BLOG_SUBTITLE']}}</p>
|
||||
<div class="template-header">
|
||||
|
||||
|
@ -71,16 +73,14 @@
|
|||
<main class="body-wrap boxed-container">
|
||||
|
||||
<article class="content">
|
||||
<div class="article-title">
|
||||
|
||||
<a href="{{ article.slug_with_year }}">{{ article.title }}</a>
|
||||
</div>
|
||||
<div class="article-main-content">{{ article.html_content | safe }}</div>
|
||||
<div class="article-date">
|
||||
{{article.date_formattee}}
|
||||
</div>
|
||||
<div>{{ article.html_content | safe }}</div>
|
||||
|
||||
<div class="article-tags">
|
||||
{% if articles_others %}
|
||||
{% if article.tags %}
|
||||
Tags:
|
||||
{% for tag in article.tags %}
|
||||
<a href="/tags/{{ tag }}">{{ tag }}</a>
|
||||
|
@ -92,10 +92,17 @@
|
|||
<hr />
|
||||
<div class="article-navigation">
|
||||
{% if article.previous %}
|
||||
<a href="{{ article.previous.slug_with_year }}" class="previous-article">Article précédent</a>
|
||||
<a href="{{ all_articles[article.previous].slug_with_year }}" class="previous-article">
|
||||
Article précédent:
|
||||
<div class="next-acticle-title">{{all_articles[article.previous].title}}</div>
|
||||
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if article.next %}
|
||||
<a href="{{ article.next.slug_with_year }}" class="next-article">Article suivant</a>
|
||||
<a href="{{ article.next.slug_with_year }}" class="next-article">Article suivant:
|
||||
<div class="next-acticle-title">{{article.next.title}}</div>
|
||||
|
||||
</a>
|
||||
<!-- // TODO corriger les précédents et suivants, ajouter le titre -->
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue