working on publish template command #2

This commit is contained in:
Cyrille L 2023-03-03 16:04:19 +01:00
parent 60d4b1489a
commit 0f93066e41
1 changed files with 3 additions and 4 deletions

View File

@ -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)