X-Git-Url: https://git.llucax.com/software/blitiri.git/blobdiff_plain/453ef6e633943c6f8bab3c719e24668aeba34836..a5749f095f091ee8af98d0a92abea8276d1001e4:/blitiri.cgi diff --git a/blitiri.cgi b/blitiri.cgi index 829a8cd..11a7df8 100755 --- a/blitiri.cgi +++ b/blitiri.cgi @@ -14,6 +14,9 @@ # Directory where entries are stored data_path = "/tmp/blog/data" +# Directory where comments are stored (must be writeable by the web server) +comments_path = "/tmp/blog/comments" + # Path where templates are stored. Use an empty string for the built-in # default templates. If they're not found, the built-in ones will be used. templates_path = "/tmp/blog/templates" @@ -66,15 +69,16 @@ templates_path = os.path.realpath(templates_path) # Default template -default_main_header = """ - +default_main_header = """\ + + - +
- +
Comment #%(number)d
+by %(author)s + on %(year)04d-%(month)02d-%(day)02d %(hour)02d:%(minute)02d + +