diff --git a/modules/Help.py b/modules/Help.py
index 49a0dfb..f85ba73 100644
--- a/modules/Help.py
+++ b/modules/Help.py
@@ -29,6 +29,8 @@ def Set():
print()
print(clr["tdyl"]+"--title"+clr["norm"]+" - Set title of the website.")
print(clr["tdyl"]+"--tagline"+clr["norm"]+" - Set tagline of the website.")
+ print(clr["tdyl"]+"--domain"+clr["norm"]+" - Let the server know the clearnet domain.")
+ print(clr["tdyl"]+"--tor"+clr["norm"]+" - Let the server know the tor domain.")
print(clr["tdyl"]+"--port"+clr["norm"]+" - Set port where to run the website.")
print(clr["tdyl"]+"--css"+clr["norm"]+" - Set a CSS file.")
print(clr["tdyl"]+"--css_edit"+clr["norm"]+" - edit a CSS file.")
diff --git a/modules/Render.py b/modules/Render.py
index 6c05c4e..16d1970 100644
--- a/modules/Render.py
+++ b/modules/Render.py
@@ -19,6 +19,8 @@ def guess_type(path):
return "application/json"
if "/css" in path or ".css" in path:
return "text/css"
+ if "/rss" in path or ".rss" in path:
+ return "application/rss+xml"
if "/icon" in path or path.endswith(".png"):
return "image/png"
if path.endswith("jpg"):
@@ -62,8 +64,8 @@ def head(title="", description="", image="", config={}, author=""):
-
-
+
+
"""
@@ -425,7 +427,7 @@ def ArticlePage(server, url):
url = url.replace(".md", "")
config = Set.Load()
- tab, article = url.split("/")
+ tab, article, *rest = url.split("/")
Tabs = tabs()
Articles = articles(tab)
f = Set.Folder()
@@ -483,13 +485,24 @@ def ArticlePage(server, url):
if recording:
html = html + ''
-
+
html = html + '
'
html = html + markdown.convert(f+"/tabs/"+tab+"/"+article+"/text.md")
html = html + '