diff --git a/src/var/lib/tyto/program/html.py b/src/var/lib/tyto/program/html.py index bb82f53..74b6bfe 100644 --- a/src/var/lib/tyto/program/html.py +++ b/src/var/lib/tyto/program/html.py @@ -19,15 +19,19 @@ import re, os import check, log, domain +Tyto = 'Tyto - Littérateur' +tytogen = 'https://git.a-lec.org/echolib/tyto-litterateur' +tytourl = 'https://tyto.echolib.re' trans = [ - [ 'Licence', 'License' ], # 0 - [ 'Générateur', 'Generator' ], # 1 - [ 'À propos de', 'About' ], # 2 - [ 'Envoyer un courriel à', 'Send a mail to' ], # 3 - [ 'Détails de la licence', 'License\'s details'], # 4 - [ 'Courriel', 'Mail' ], # 5 - [ 'Site web généré par', 'Website generated by'], # 6 - [ 'Syndication de', 'Syndication of' ] # 7 + [ 'Licence', 'License' ], # 0 + [ 'Générateur', 'Generator' ], # 1 + [ 'À propos de', 'About' ], # 2 + [ 'Envoyer un courriel à', 'Send a mail to' ], # 3 + [ 'Détails de la licence', 'License\'s details'], # 4 + [ 'Courriel', 'Mail' ], # 5 + [ 'Site web généré par %s'%Tyto, 'Website generated by %s'%Tyto ], # 6 + [ 'Syndication de', 'Syndication of' ], # 7 + [ 'Site officiel de %s'%Tyto, 'Official website of %s'%Tyto ] # 8 ] #=======================================# @@ -71,7 +75,6 @@ def html_main_page(wip_html): # Check here for template files files_uri = ( - '%s%s'%(domain.srv_wip, f_rss[1:len(f_rss)]), '%s%s'%(domain.srv_wip, icon[1:len(icon)]), '%s%s'%(domain.srv_wip, f_css[1:len(f_css)]), '%s%s'%(domain.srv_wip, logo[1:len(logo)]) @@ -100,7 +103,7 @@ def html_main_page(wip_html): '\n'%domain.domain_lang + \ '\n'%domain.domain_mail + \ '\n'%domain.domain_license + \ - '\n' + \ + '\n'%Tyto + \ '\n'%title + \ '\n'%post_author + \ '\n'%post_about + \ @@ -139,8 +142,10 @@ def html_main_page(wip_html): '