diff --git a/prosopopoee b/prosopopoee index 89de881..ea06e63 100755 --- a/prosopopoee +++ b/prosopopoee @@ -82,6 +82,8 @@ def main(): front_page_galleries_cover = sorted(front_page_galleries_cover, key=lambda x: x["date"]) + open(os.path.join("build", "index.html"), "w").write(index_template.render(settings=settings, galleries=front_page_galleries_cover, helpers=TemplateFunctions(os.getcwd(), os.path.join(os.getcwd(), "build"))).encode("Utf-8")) + if __name__ == '__main__': main() diff --git a/templates/index.html b/templates/index.html index e69de29..41b9b20 100644 --- a/templates/index.html +++ b/templates/index.html @@ -0,0 +1,46 @@ + + +
+ + + + + +