mirror of
https://github.com/tiyn/beaker-blog.git
synced 2025-04-02 15:37:46 +02:00
fixed typos
This commit is contained in:
parent
6fb7411156
commit
e4744ee451
@ -10,6 +10,7 @@ import markdown
|
|||||||
import config
|
import config
|
||||||
import search
|
import search
|
||||||
|
|
||||||
|
WEBSITE = config.WEBSITE
|
||||||
ENTRY_DIR = config.ENTRY_DIR
|
ENTRY_DIR = config.ENTRY_DIR
|
||||||
LANGUAGE = config.LANGUAGE
|
LANGUAGE = config.LANGUAGE
|
||||||
LOCAL = "de_DE.UTF-8" if LANGUAGE == "de-de" else "en_US.UTF-8"
|
LOCAL = "de_DE.UTF-8" if LANGUAGE == "de-de" else "en_US.UTF-8"
|
||||||
@ -176,7 +177,7 @@ def get_rss_string():
|
|||||||
filename = filename.split(".", 1)[0]
|
filename = filename.split(".", 1)[0]
|
||||||
content_string += "<item>\n"
|
content_string += "<item>\n"
|
||||||
content_string += "<title>" + title + "</title>\n"
|
content_string += "<title>" + title + "</title>\n"
|
||||||
content_string += "<guid>" + config.WEBSITE + \
|
content_string += "<guid>" + WEBSITE + \
|
||||||
"/index.html#" + filename + "</guid>\n"
|
"/index.html#" + filename + "</guid>\n"
|
||||||
content_string += "<pubDate>" + \
|
content_string += "<pubDate>" + \
|
||||||
datetime.fromtimestamp(os.path.getmtime(file)).strftime(
|
datetime.fromtimestamp(os.path.getmtime(file)).strftime(
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<description>{{ description }}</description>
|
<description>{{ description }}</description>
|
||||||
<language>{{ language }}</language>
|
<language>{{ language }}</language>
|
||||||
<link>{{ website }}</link>
|
<link>{{ website }}</link>
|
||||||
<atom:link href="{{ website }}{{ url_for('feed') }}" rel="self" type="application/rss+xml" />
|
<atom:link href="{{ website }}{{ url_for('feed') }}" rel="self" type="application/rss+xml"/>
|
||||||
|
|
||||||
{% autoescape off %}
|
{% autoescape off %}
|
||||||
{{ content_string }}
|
{{ content_string }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user