ajout source générateur dans gemini, lien vers tags

This commit is contained in:
Tykayn 2025-02-27 23:07:28 +01:00 committed by tykayn
parent cb2f0d1aa3
commit 07f55fd3b8
2 changed files with 19 additions and 6 deletions

View file

@ -354,26 +354,36 @@ def generate_blog_index(json_file, template_file, output_file):
===============================================
{template_content['BANNIERE_ENTETE']}
Par {template_content['AUTHOR']}
Dernière mise à jour: {datetime.now()}
***********************************************
===============================================
Dernière mise à jour: {datetime.now().strftime('%Y-%m-%d, %H:%M:%S')}
===============================================
{template_content['DESCRIPTION']}
**************************************************************
===============================================
{template_content['SITE_ICON']}
---------------------
-----------------------------------------------
Index des {len(files_dict.items())} articles:
{gmi_list_articles}
---------------------
-----------------------------------------------
Pages:
=> index.gmi Index
=> tags.gmi Tags
-----------------------------------------------
{template_content['SOUTIEN']}
-----------------------------------------------
{template_content['WEBSITE_GENERATOR_DESCRIPTION']}
{template_content['WEBSITE_GENERATOR']}
"""
gmi_index_file=destination_gmi+'index.gmi'