Compare commits
10 Commits
164126ddf1
...
18b03bad3a
Author | SHA1 | Date |
---|---|---|
Stefan Ritter | 18b03bad3a | |
Stefan Ritter | 828b7776d0 | |
root | 202fbfd9ac | |
Stefan Ritter | bb9934781d | |
Stefan Ritter | e26061ca26 | |
Stefan Ritter | fcb1f954e4 | |
Stefan Ritter | 9017fefc08 | |
Stefan Ritter | b1adf4b485 | |
Stefan Ritter | 1bd24c2d5b | |
Stefan Ritter | 43a8d039ab |
|
@ -152,6 +152,10 @@ if not os.path.exists(plugins_dir):
|
|||
if not os.path.exists("linklist"):
|
||||
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":
|
||||
blog_locale = (
|
||||
"Seiten",
|
||||
|
@ -453,6 +457,7 @@ else:
|
|||
document_header("html")
|
||||
print(ind + "<head>")
|
||||
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 http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />")
|
||||
print(ind*2 + "<meta name=\"keywords\" content=\"%s\" />" % keywords)
|
||||
|
@ -676,7 +681,7 @@ else:
|
|||
for tag in tagline_items:
|
||||
tagline += "<a href=\"%s?t=%s\">%s</a> " % (blog_url, tag, tag)
|
||||
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:
|
||||
content.seek(0)
|
||||
|
||||
|
|
|
@ -19,6 +19,8 @@ permalinks: True
|
|||
comments: True
|
||||
newest_first: True
|
||||
tags: True
|
||||
taglist: True
|
||||
tags_max: 10
|
||||
|
||||
[smtp]
|
||||
new_comment_mail: False
|
||||
|
|
Loading…
Reference in New Issue