From 0f93066e4133a1d3e3ed556e234e7dc9e2c81952 Mon Sep 17 00:00:00 2001 From: Cyrille L Date: Fri, 3 Mar 2023 16:04:19 +0100 Subject: [PATCH] working on publish template command #2 --- src/var/lib/tyto/program/html.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/var/lib/tyto/program/html.py b/src/var/lib/tyto/program/html.py index 900f33c..6911bb5 100644 --- a/src/var/lib/tyto/program/html.py +++ b/src/var/lib/tyto/program/html.py @@ -333,7 +333,7 @@ def create_sidebar(option): if os.path.exists(target): res = input(ask_html) if not res in ['y', 'Y']: - logs.out("255", '', True)n + logs.out("255", '', True) tyto.set_file(target, True, sidebar_content) logs.out("33", target, False) @@ -460,8 +460,8 @@ def create_navbar(option): def create_user_metas(option): domain.domain_needed() - if option == 'wip': target = db.wip_navbar - elif option == 'www': target = db.www_navbar + if option == 'wip': target = db.wip_metas + elif option == 'www': target = db.www_metas # Create wip metas.html file according to option #----------------------------------------------- @@ -523,4 +523,3 @@ def create_user_footer(option): tyto.set_file(target, True, user_footer) print(log_load) -