mirror of
https://git.ari.lt/ari.lt/ari.lt.git
synced 2025-02-04 09:39:25 +01:00
js/index : add linkify() to blog content
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
2af630ea3f
commit
3e0e14b37c
1 changed files with 4 additions and 1 deletions
|
@ -59,7 +59,10 @@ async function main() {
|
|||
null,
|
||||
{ href: `${BLOG_SITE}/b/${id}` }
|
||||
),
|
||||
mkelem("pre", `${post["content"]} ...`),
|
||||
mkelem(
|
||||
"pre",
|
||||
linkify(post["content"]).concat([" ..."])
|
||||
),
|
||||
],
|
||||
blog
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue