Use path aliasing and improve accesibility
This commit is contained in:
parent
b464c5e795
commit
dadbd32e1b
40 changed files with 138 additions and 115 deletions
|
|
@ -3,10 +3,10 @@ import type { APIRoute } from "astro";
|
|||
import { getCollection, getEntries, type CollectionEntry, type CollectionKey } from "astro:content";
|
||||
import { markdown } from "@astropub/md";
|
||||
import sanitizeHtml from "sanitize-html";
|
||||
import { t, type Lang } from "../i18n";
|
||||
import { markdownToPlaintext } from "../utils/markdown_to_plaintext";
|
||||
import { getUsernameForLang } from "../utils/get_username_for_lang";
|
||||
import { qualifyLocalURLsInMarkdown } from "../utils/qualify_local_urls_in_markdown";
|
||||
import { t, type Lang } from "@i18n";
|
||||
import { markdownToPlaintext } from "@utils/markdown_to_plaintext";
|
||||
import { getUsernameForLang } from "@utils/get_username_for_lang";
|
||||
import { qualifyLocalURLsInMarkdown } from "@utils/qualify_local_urls_in_markdown";
|
||||
|
||||
type FeedItem = RSSFeedItem &
|
||||
Required<Pick<RSSFeedItem, "title" | "pubDate" | "link" | "description" | "categories" | "content">>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue