html: little changes for RSS title et link meta

This commit is contained in:
Cyrille L 2022-11-25 10:45:56 +01:00
parent 8043053d74
commit 4a5a741c2c
1 changed files with 4 additions and 5 deletions

View File

@ -54,7 +54,6 @@ def translations():
# Change date format for FR
if fl == 0:
fr_date = post_date.rsplit('-')
print(">>>>", fr_date)
post_date = fr_date[2] + '/' + fr_date[1] + '/' + fr_date[0]
#========================#
@ -77,7 +76,7 @@ def html_main_page(wip_html):
logo = '/template/%s'%domain.domain_logo
f_css = '/template/styles.css'
f_rss = '/rss.xml'
i_rss = 'RSS 2.0, %s %s %s'%(
i_rss = 'RSS 2.0. %s %s %s'%(
domain.domain_title, domain.sep_titles, domain.domain_name
)
@ -234,9 +233,9 @@ def html_main_page(wip_html):
' <li class="site-list">\n' + \
' <abbr title="Really Simple Syndication">RSS</abbr>: \n' + \
' <a id="site-rss" href="/rss.xml"\n' + \
' type="application/rss+xml"' + \
' title="%s %s">/rss.xml</a>\n'%(
trans[7][fl], domain.domain_title
' type="application/rss+xml"\n' + \
' title="Syndication %s">/rss.xml</a>\n'%(
i_rss
) + \
' </li>\n' + \
' <li class="site-list">%s: \n'%trans[1][fl] + \