105 lines
1.1 KiB
Python
Executable file
105 lines
1.1 KiB
Python
Executable file
#!/usr/bin/env python3
|
|
from htmlgen import *
|
|
print("Content-type: text/html\r\n\r\n")
|
|
html=htmlgen.HTMLgen(pagelayout.getLayoutXML().decode('utf-8'),"Home Page")
|
|
html.addArticle("Markdown test","""*Hello, World!*
|
|
|
|
test
|
|
test
|
|
**HI**
|
|
|
|
|
|
|
|
**TEST**""")
|
|
html.addArticle("Markdown test","""*Hello, World!*
|
|
|
|
test
|
|
test
|
|
**HI**
|
|
|
|
|
|
|
|
**TEST**""")
|
|
html.addArticle("Markdown test","""*Hello, World!*
|
|
|
|
test
|
|
test
|
|
**HI**
|
|
|
|
|
|
|
|
**TEST**""")
|
|
html.addArticle("Markdown test","""*Hello, World!*
|
|
|
|
test
|
|
test
|
|
**HI**
|
|
|
|
|
|
|
|
**TEST**""")
|
|
html.addArticle("Markdown test","""*Hello, World!*
|
|
|
|
test
|
|
test
|
|
**HI**
|
|
|
|
|
|
|
|
**TEST**""")
|
|
html.addArticle("Markdown test","""*Hello, World!*
|
|
|
|
test
|
|
test
|
|
**HI**
|
|
|
|
|
|
|
|
**TEST**""")
|
|
html.addArticle("Markdown test","""*Hello, World!*
|
|
|
|
test
|
|
test
|
|
**HI**
|
|
|
|
|
|
|
|
**TEST**""")
|
|
html.addArticle("Markdown test","""*Hello, World!*
|
|
|
|
test
|
|
test
|
|
**HI**
|
|
|
|
|
|
|
|
**TEST**""")
|
|
html.addArticle("Markdown test","""*Hello, World!*
|
|
|
|
test
|
|
test
|
|
**HI**
|
|
|
|
|
|
|
|
**TEST**""")
|
|
html.addArticle("Markdown test","""*Hello, World!*
|
|
|
|
test
|
|
test
|
|
**HI**
|
|
|
|
|
|
|
|
**TEST**""")
|
|
html.addArticle("Markdown test","""*Hello, World!*
|
|
|
|
test
|
|
test
|
|
**HI**
|
|
|
|
|
|
|
|
**TEST**""")
|
|
print("<!DOCTYPE html>")
|
|
print(html.renderSite())
|