44399c90e7b648ca6f2c7a3d35b566195ced802d
# (c) 2017 Aaron Taylor <ataylor at subgeniuskitty dot com>
# See LICENSE file for copyright and license details.
import config
, misc
, template
print("Content-Type: text/html;charset=utf-8\n")
if os
.environ
['REQUEST_URI'][-1] == "/":
os
.environ
['REQUEST_URI'] = os
.environ
['REQUEST_URI'] + config
.default_page
content
= misc
.load_file(config
.site_template_prefix
+ "/" + config
.template_file
)
content
= template
.page_title(content
)
content
= template
.site_title(content
)
content
= template
.current_year(content
)
content
= template
.head_meta_description(content
)
content
= template
.head_meta_keywords(content
)
content
= template
.body(content
)
if __name__
== "__main__":