mirror of
https://forge.chapril.org/tykayn/orgmode-to-gemini-blog
synced 2025-06-20 09:04:42 +02:00
generate tags pages with jinja template
This commit is contained in:
parent
8e32423dce
commit
367c7754c6
8 changed files with 178 additions and 42 deletions
|
@ -28,8 +28,8 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<div id="page" class="page__{{template_content[" PAGE_SLUG"]}}">
|
||||
<header id="masthead" class="site-header">
|
||||
<div id="page" class="page_article page__{{template_content['PAGE_SLUG']}} ">
|
||||
<header id=" masthead" class="site-header">
|
||||
<div class="header-image" style="background-image: url('{{template_content[" BANNIERE_ENTETE"]}}');
|
||||
background-repeat: no-repeat; background-size: cover;">
|
||||
<a href="/">
|
||||
|
@ -73,7 +73,9 @@
|
|||
<main class="body-wrap boxed-container">
|
||||
|
||||
<article class="content">
|
||||
|
||||
<h1 class="article-title">
|
||||
{{ article.title }}
|
||||
</h1>
|
||||
<div class="article-main-content">{{ article.html_content | safe }}</div>
|
||||
<div class="article-date">
|
||||
{{article.date_formattee}}
|
||||
|
@ -83,7 +85,7 @@
|
|||
{% if article.tags %}
|
||||
Tags:
|
||||
{% for tag in article.tags %}
|
||||
<a href="/tags/{{ tag }}">{{ tag }}</a>
|
||||
<a href="/tag/{{ tag }}">{{ tag }}</a>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue