diff --git a/src/var/lib/tyto/program/html.py b/src/var/lib/tyto/program/html.py
index 92bb1a2..7d34f6c 100644
--- a/src/var/lib/tyto/program/html.py
+++ b/src/var/lib/tyto/program/html.py
@@ -220,6 +220,7 @@ def create_sidebar(option):
if option == 'wip': target = db.wip_sidebar
elif option == 'www': target = db.www_sidebar
+ elif option == 'pub': target = db.www_sidebar
# If content in sidebar, go True
sidebar_new = False
@@ -330,7 +331,7 @@ def create_sidebar(option):
ask_html = ' ├ Replace %s ? '%target
res = ''
- if os.path.exists(target):
+ if not option == 'pub' and os.path.exists(target):
res = input(ask_html)
if not res in ['y', 'Y']:
logs.out("255", '', True)
@@ -354,6 +355,7 @@ def create_navbar(option):
if option == 'wip': target = db.wip_navbar
elif option == 'www': target = db.www_navbar
+ elif option == 'pub': target = db.www_navbar
# If content in sidebar, go True
navbar_new = False
@@ -436,7 +438,7 @@ def create_navbar(option):
ask_html = ' ├ Replace %s ? '%target
res = ''
- if os.path.exists(target):
+ if not option == 'pub' and os.path.exists(target):
try:
res = input(ask_html)
except KeyboardInterrupt:
@@ -462,6 +464,7 @@ def create_user_metas(option):
if option == 'wip': target = db.wip_metas
elif option == 'www': target = db.www_metas
+ elif option == 'pub': target = db.www_metas
# Create wip metas.html file according to option
#-----------------------------------------------
@@ -471,7 +474,7 @@ def create_user_metas(option):
metas_used = ('