summaryrefslogtreecommitdiff
path: root/src/components/blog
diff options
context:
space:
mode:
authorDawid Rycerz <dawid@rycerz.xyz>2025-07-03 13:46:07 +0300
committerDawid Rycerz <dawid@rycerz.xyz>2025-07-03 13:46:07 +0300
commitf100d259d2ffebe61fef56ea3964f6d534d598c8 (patch)
tree09d06511506da9c35585740d56598eb542fac079 /src/components/blog
parent1e5f5a953588cefa75396454c9aed0a79552db14 (diff)
Initial pleroma pull support
Diffstat (limited to 'src/components/blog')
-rw-r--r--src/components/blog/PostPreview.astro2
-rw-r--r--src/components/blog/TOC.astro2
-rw-r--r--src/components/blog/webmentions/Comments.astro2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/components/blog/PostPreview.astro b/src/components/blog/PostPreview.astro
index fc1a9a3..cbe747e 100644
--- a/src/components/blog/PostPreview.astro
+++ b/src/components/blog/PostPreview.astro
@@ -1,7 +1,7 @@
---
import type { CollectionEntry } from "astro:content";
-import FormattedDate from "@/components/FormattedDate.astro";
import type { HTMLTag, Polymorphic } from "astro/types";
+import FormattedDate from "@/components/FormattedDate.astro";
type Props<Tag extends HTMLTag> = Polymorphic<{ as: Tag }> & {
post: CollectionEntry<"post">;
diff --git a/src/components/blog/TOC.astro b/src/components/blog/TOC.astro
index 6649546..2a45124 100644
--- a/src/components/blog/TOC.astro
+++ b/src/components/blog/TOC.astro
@@ -1,6 +1,6 @@
---
-import { generateToc } from "@/utils/generateToc";
import type { MarkdownHeading } from "astro";
+import { generateToc } from "@/utils/generateToc";
import TOCHeading from "./TOCHeading.astro";
interface Props {
diff --git a/src/components/blog/webmentions/Comments.astro b/src/components/blog/webmentions/Comments.astro
index 5177d57..af14bd0 100644
--- a/src/components/blog/webmentions/Comments.astro
+++ b/src/components/blog/webmentions/Comments.astro
@@ -1,7 +1,7 @@
---
import { Image } from "astro:assets";
-import type { WebmentionsChildren } from "@/types";
import { Icon } from "astro-icon/components";
+import type { WebmentionsChildren } from "@/types";
interface Props {
mentions: WebmentionsChildren[];