mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 17:49:24 +01:00
update @ Tue 8 Aug 18:22:45 EEST 2023
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
c3e06a9e4f
commit
c2a28b06da
1 changed files with 1 additions and 1 deletions
|
@ -965,7 +965,7 @@ def generate_rss(config: Dict[str, Any]) -> Tuple[int, Dict[str, Any]]:
|
|||
)
|
||||
etree.SubElement(channel, "lastBuildDate").text = now.strftime(ftime)
|
||||
|
||||
for id, post in config["blogs"].items():
|
||||
for id, post in tuple(config["blogs"].items())[::-1]:
|
||||
content: List[str] = post["content"].strip()[:196][::-1].split(maxsplit=1)
|
||||
|
||||
item: etree.Element = etree.SubElement(channel, "item")
|
||||
|
|
Loading…
Add table
Reference in a new issue