diff --git a/src/var/lib/tyto/program/html.py b/src/var/lib/tyto/program/html.py index 933571b..7d22024 100644 --- a/src/var/lib/tyto/program/html.py +++ b/src/var/lib/tyto/program/html.py @@ -79,13 +79,15 @@ def create_metas_page(): icon_ref = 'type="image/png" href="%stemplate/%s"'%( db.sub_uri, icon_file ) - en_date = tyto.set_en_date(db.date[0]) relme = '' # External URL in metas (if exists in config domain) if db.domain_relme: relme = '\n '%( db.domain_relme ) + # Create author and date publish section infos + create_html_infos_section('wip') + # Set all raw HTML metas #----------------------- global metas @@ -101,7 +103,7 @@ def create_metas_page(): ' \n'%db.author + \ ' \n'%db.about + \ ' \n'%all_tags + \ - ' \n'%en_date + \ + '%s'%meta_pub + \ ' \n'%db.http_www + \ ' \n'%(rss_ref) + \ ' \n'%css_ref + \ @@ -143,9 +145,6 @@ def create_main_page(target, article_bottom): '%salt="logo: %s"\n'%(15 * " ", db.domain_title) + \ '%sid="site_logo_image" />\n'%(15 * " ") + \ '%s'%(8 * " ") - - # Create author and date publish section infos - create_html_infos_section('wip') #-----------------------# # Create main HTML Page # @@ -194,9 +193,9 @@ def create_html_infos_section(process): # Need to reload the DB to get last time updated exec(open(db.post_db).read(), globals()) - global post_pub + global post_pub, meta_pub, date_raw if process == 'wip': - date_raw = date_wip #