Support custom hiatus message
This commit is contained in:
parent
e144c9e23e
commit
27cb1876e3
2 changed files with 7 additions and 2 deletions
|
@ -744,7 +744,12 @@ def headerwrite(thefile,pagename):
|
|||
header.write("/log\">log</a>")
|
||||
header.write("</li>\n <li><a href=\"" + variables.tradepost + "\" target=\"_blank\">trade post @ dw</a></li>\n <li><a href=\"https://colors-tcg.eu/services.php\" target=\"_blank\">service links</a></li>\n </ul>\n </nav>\n <main>\n")
|
||||
if variables.hiatus:
|
||||
header.write("<div id=\"hiatus\">\n<h1>hiatus</h1>\n<p>currently on hiatus</p>\n</div>\n")
|
||||
header.write("<div id=\"hiatus\">\n<h1>hiatus</h1>\n<p>")
|
||||
if type(variables.hiatus) == str:
|
||||
header.write(variables.hiatus)
|
||||
else:
|
||||
header.write("currently on hiatus")
|
||||
header.write("</p>\n</div>\n")
|
||||
header.close()
|
||||
|
||||
def footerwrite(thefile):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue