X-Git-Url: https://git.llucax.com/software/blitiri.git/blobdiff_plain/f874dc7a70fd66a320882bcc1fd71e8324918f2c..68d0af399627dab98e5206f7df26eb354f7d4ce5:/blitiri.cgi?ds=sidebyside diff --git a/blitiri.cgi b/blitiri.cgi index f13e59a..583a497 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 + +