Change feed title to use human-readable SITE_TITLE.
This commit is contained in:
parent
ef65a3f341
commit
bb142eda53
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ def feeds_front(sort='hot', t='all'):
|
||||||
doc, tag, text = Doc().tagtext()
|
doc, tag, text = Doc().tagtext()
|
||||||
with tag("feed", ("xmlns:media","http://search.yahoo.com/mrss/"), xmlns="http://www.w3.org/2005/Atom",):
|
with tag("feed", ("xmlns:media","http://search.yahoo.com/mrss/"), xmlns="http://www.w3.org/2005/Atom",):
|
||||||
with tag("title", type="text"):
|
with tag("title", type="text"):
|
||||||
text(f"{sort} posts from {SITE}")
|
text(f"{sort} posts from {SITE_TITLE}")
|
||||||
|
|
||||||
with tag("id"):
|
with tag("id"):
|
||||||
text(SITE_FULL + request.full_path)
|
text(SITE_FULL + request.full_path)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue