update @ Tue 29 Aug 11:01:57 EEST 2023

Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
Ari Archer 2023-08-29 11:01:57 +03:00
parent b3c36c2f88
commit 656116e21e
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: A50D5B4B599AF8A2

View file

@ -764,7 +764,7 @@ def ls(config: typing.Dict[str, typing.Any]) -> int:
title : {post["title"]!r}
description : {post["description"]!r}
content : {trunc(post["content"], 128)!r}
content : {trunc(post["content"], config["post-preview-size"])!r}
keywords : {", ".join(post["keywords"])}
created : {format_time(post["created"])}"""
+ (
@ -1116,7 +1116,9 @@ def apis(config: typing.Dict[str, typing.Any]) -> int:
kv[0],
{
"title": kv[1]["title"],
"content": trunc(kv[1]["content"], config["post-preview-size"], ""),
"content": trunc(
kv[1]["content"], config["post-preview-size"], ""
),
"created": kv[1]["created"],
},
),