added article

This commit is contained in:
Morten Delenk 2016-07-13 16:51:23 +02:00
parent ddae386dad
commit fe76e8a868
3 changed files with 5 additions and 1 deletions

View file

@ -73,3 +73,7 @@ li { padding-left:16px; }
a {
color: #0FF;
}
blockquote {
background-color: #000000;
border-left: 1em solid green;
}

View file

@ -43,7 +43,7 @@ html.appendHTML("<input placeholder=\"Captcha. lowercase only. case sensitive\"
html.appendHTML("<input type=\"submit\" /></form>")
count=storage.count("comments-%i"%aid)
for i in range(count):
html.addArticle(**(storage.get("comments-%i"%aid,i)))
html.addArticle(aid=aid,**(storage.get("comments-%i"%aid,i)))
print("<!DOCTYPE html>")
print(html.renderSite(True))

Binary file not shown.