Compare commits

...

10 Commits

Author SHA1 Message Date
Stefan Ritter 18b03bad3a Bugfix 2012-02-23 19:27:16 +01:00
Stefan Ritter 828b7776d0 Add base href to header 2012-02-23 19:25:18 +01:00
root 202fbfd9ac Revert "Add border left and right to default style"
Not easy to do with floating elements
This reverts commit bb9934781d.
2012-02-14 14:59:04 +01:00
Stefan Ritter bb9934781d Add border left and right to default style 2012-02-03 16:34:46 +01:00
Stefan Ritter e26061ca26 Forgot a ":" 2012-01-27 18:40:35 +01:00
Stefan Ritter fcb1f954e4 Forgot to translate "tags" 2012-01-27 18:39:04 +01:00
Stefan Ritter 9017fefc08 Bugfix for tags #3 2012-01-27 18:22:47 +01:00
Stefan Ritter b1adf4b485 Bugfix for tags #2 2012-01-27 18:20:06 +01:00
Stefan Ritter 1bd24c2d5b Bugfix for tags 2012-01-27 18:15:50 +01:00
Stefan Ritter 43a8d039ab Add missing configuration options 2012-01-27 18:07:46 +01:00
2 changed files with 8 additions and 1 deletions

View File

@ -152,6 +152,10 @@ if not os.path.exists(plugins_dir):
if not os.path.exists("linklist"): if not os.path.exists("linklist"):
errorpage("File \"linklist\" does not exist!") errorpage("File \"linklist\" does not exist!")
if not os.path.exists(os.path.join(entries_dir, 'tags')):
tagfile = open(os.path.join(entries_dir, "tags"), "w")
tagfile.close()
if language == "de": if language == "de":
blog_locale = ( blog_locale = (
"Seiten", "Seiten",
@ -453,6 +457,7 @@ else:
document_header("html") document_header("html")
print(ind + "<head>") print(ind + "<head>")
print(ind*2 + "<title>%s</title>" % blog_title) print(ind*2 + "<title>%s</title>" % blog_title)
print(ind*2 + "<base href=\"%s\" />" % blog_url)
print(ind*2 + "<meta charset=\"utf-8\" />") print(ind*2 + "<meta charset=\"utf-8\" />")
print(ind*2 + "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />") print(ind*2 + "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />")
print(ind*2 + "<meta name=\"keywords\" content=\"%s\" />" % keywords) print(ind*2 + "<meta name=\"keywords\" content=\"%s\" />" % keywords)
@ -676,7 +681,7 @@ else:
for tag in tagline_items: for tag in tagline_items:
tagline += "<a href=\"%s?t=%s\">%s</a> " % (blog_url, tag, tag) tagline += "<a href=\"%s?t=%s\">%s</a> " % (blog_url, tag, tag)
if tags == "True": if tags == "True":
print(ind*4 + "<div class=\"tags\"><b>Tags:</b> %s</div>" % tagline) print(ind*4 + "<div class=\"tags\"><b>%s:</b> %s</div>" % (blog_locale[11], tagline))
else: else:
content.seek(0) content.seek(0)

View File

@ -19,6 +19,8 @@ permalinks: True
comments: True comments: True
newest_first: True newest_first: True
tags: True tags: True
taglist: True
tags_max: 10
[smtp] [smtp]
new_comment_mail: False new_comment_mail: False