diff --git a/keystatic.config.tsx b/keystatic.config.tsx index b084574..7954725 100644 --- a/keystatic.config.tsx +++ b/keystatic.config.tsx @@ -7,8 +7,8 @@ export default config({ name: 'SudoVanilla CMS', mark: ({ colorScheme }) => { let path = colorScheme === 'dark' - ? 'https://md.sudovanilla.com/images/sv-logo-4.png' - : 'https://md.sudovanilla.com/images/SudoVanilla%20Logo%20-%20Purple.svg'; + ? 'https://md.sudovanilla.org/images/sv-logo-4.png' + : 'https://md.sudovanilla.org/images/SudoVanilla%20Logo%20-%20Purple.svg'; return }, diff --git a/src/components/blog/posts.astro b/src/components/blog/posts.astro index 9b92392..1d47ec8 100644 --- a/src/components/blog/posts.astro +++ b/src/components/blog/posts.astro @@ -5,6 +5,11 @@ const { PrefixSlug } = Astro.props + + +// Sort the posts in descending order (newest to oldest) +GetPosts.sort((a, b) => Date.parse(b.data.date) - Date.parse(a.data.date)) + // Show Author in "Recommended Reading" if (Astro.url.pathname = '/blog/recommended-reading/') { var ShowAuthor = true @@ -41,11 +46,6 @@ if (Astro.url.pathname = '/blog/recommended-reading/') { } - \ No newline at end of file diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro index 8ed5a47..23a631d 100644 --- a/src/pages/blog/index.astro +++ b/src/pages/blog/index.astro @@ -1,18 +1,13 @@ --- // Layout -import Default from "@layouts/Default.astro"; +import Default from "@layouts/Default.astro" // Components -import Heading from "@components/Heading.astro"; -import Posts from "@components/blog/posts.astro"; +import Posts from "@components/blog/posts.astro" // List Posts -import { getCollection } from "astro:content"; -const posts = await getCollection("posts"); - - -// Icons -import { BookmarkBook, ReportColumns } from "iconoir-react"; +import { getCollection } from "astro:content" +const posts = await getCollection("posts") --- diff --git a/src/pages/blog/recommended-reading.astro b/src/pages/blog/recommended-reading.astro index 0a1a8a4..0c7ccff 100644 --- a/src/pages/blog/recommended-reading.astro +++ b/src/pages/blog/recommended-reading.astro @@ -3,16 +3,11 @@ import Default from "@layouts/Default.astro"; // Components -import Heading from "@components/Heading.astro"; import Posts from "@components/blog/posts.astro"; -import RedirectingIn from "@components/keystatic/RedirectingIn.astro"; // List Posts import { getCollection } from "astro:content"; const posts = await getCollection("recommend-reading"); - -// Icons -import { BookmarkBook, ReportColumns } from "iconoir-react"; --- diff --git a/src/pages/index.astro b/src/pages/index.astro index 6282662..1d1a96e 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -57,6 +57,8 @@ import { BookmarkBook, ReportColumns } from "iconoir-react"; Title="Penpot Desktop" Description="A Desktop-Like Experience" Image="https://md.sudovanilla.org/images/Z1.webp" + Label="Discontinued" + LabelVarient="Warning" CTA_Primary="Documentation" CTA_Primary_Link="/docs/penpot-desktop/introduction/" /> diff --git a/src/pages/init/index.astro b/src/pages/init/index.astro index 52df926..d6e8d1b 100644 --- a/src/pages/init/index.astro +++ b/src/pages/init/index.astro @@ -16,9 +16,9 @@ import { BookmarkBook, ReportColumns } from "iconoir-react";

Init Privacy

- Softwares - Websites - Disclaimers + Softwares + Websites + Disclaimers