working on publish template command #2
This commit is contained in:
parent
60d4b1489a
commit
0f93066e41
|
@ -333,7 +333,7 @@ def create_sidebar(option):
|
||||||
if os.path.exists(target):
|
if os.path.exists(target):
|
||||||
res = input(ask_html)
|
res = input(ask_html)
|
||||||
if not res in ['y', 'Y']:
|
if not res in ['y', 'Y']:
|
||||||
logs.out("255", '', True)n
|
logs.out("255", '', True)
|
||||||
|
|
||||||
tyto.set_file(target, True, sidebar_content)
|
tyto.set_file(target, True, sidebar_content)
|
||||||
logs.out("33", target, False)
|
logs.out("33", target, False)
|
||||||
|
@ -460,8 +460,8 @@ def create_navbar(option):
|
||||||
def create_user_metas(option):
|
def create_user_metas(option):
|
||||||
domain.domain_needed()
|
domain.domain_needed()
|
||||||
|
|
||||||
if option == 'wip': target = db.wip_navbar
|
if option == 'wip': target = db.wip_metas
|
||||||
elif option == 'www': target = db.www_navbar
|
elif option == 'www': target = db.www_metas
|
||||||
|
|
||||||
# Create wip metas.html file according to option
|
# Create wip metas.html file according to option
|
||||||
#-----------------------------------------------
|
#-----------------------------------------------
|
||||||
|
@ -523,4 +523,3 @@ def create_user_footer(option):
|
||||||
tyto.set_file(target, True, user_footer)
|
tyto.set_file(target, True, user_footer)
|
||||||
print(log_load)
|
print(log_load)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue