lint
This commit is contained in:
parent
c7d48b3d96
commit
37880d297b
|
@ -4,6 +4,7 @@ import { site } from '$lib/config/site'
|
|||
import { feed } from '$lib/config/general'
|
||||
import { favicon, any } from '$lib/config/icon'
|
||||
import { genPosts } from '$lib/utils/posts'
|
||||
import readingTime from 'reading-time'
|
||||
|
||||
const render = (posts = genPosts({ postHtml: true, postLimit: feed.limit, filterUnlisted: true })) => ({
|
||||
version: 'https://jsonfeed.org/version/1.1',
|
||||
|
@ -31,6 +32,7 @@ const render = (posts = genPosts({ postHtml: true, postLimit: feed.limit, filter
|
|||
title: post.title,
|
||||
content_html: post.html,
|
||||
summary: post['summary'],
|
||||
readingTime,
|
||||
image: post['image'],
|
||||
date_published: post.published ?? post.created,
|
||||
date_modified: post.updated ?? post.published ?? post.created,
|
||||
|
|
Loading…
Reference in New Issue