various polish

This commit is contained in:
Jacky Zhao
2023-07-02 13:08:29 -07:00
parent ba6df2d95f
commit 83c5fa64ea
30 changed files with 339 additions and 190 deletions

View File

@ -36,7 +36,6 @@ function generateRSSFeed(cfg: GlobalConfiguration, idx: ContentIndex): string {
const base = cfg.canonicalUrl ?? ""
const root = `https://${base}`
// TODO: ogimage
const createURLEntry = (slug: string, content: ContentDetails): string => `<items>
<title>${content.title}</title>
<link>${root}/${slug}</link>