Skip to content

Commit

Permalink
merge(#4): Migrate to Astro's content collection schema
Browse files Browse the repository at this point in the history
[GIT PULL] Migrate to Astro's content collection schema
  • Loading branch information
irvanmalik48 authored Apr 10, 2023
2 parents 4d080a9 + 6dd4d37 commit 355d0ef
Show file tree
Hide file tree
Showing 56 changed files with 2,199 additions and 5,011 deletions.
17 changes: 0 additions & 17 deletions astro.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { defineConfig } from "astro/config";
import sitemap from "@astrojs/sitemap";
import tailwind from "@astrojs/tailwind";
import partytown from "@astrojs/partytown";
import image from "@astrojs/image";
Expand All @@ -9,28 +8,12 @@ import vercel from "@astrojs/vercel/serverless";
import solidJs from "@astrojs/solid-js";
import remarkMath from "remark-math";
import rehypeKatex from "rehype-katex";
import { getAllPostLinks } from "./src/lib/posts";
import { getAllLyricLinks } from "./src/lib/lyrics";
import type { AstroIntegration } from "astro";

// https://astro.build/config
export default defineConfig({
site: "https://irvanma.eu.org",
integrations: [
sitemap({
customPages: [
"https://irvanma.eu.org/",
"https://irvanma.eu.org/posts",
"https://irvanma.eu.org/lyrics",
"https://irvanma.eu.org/creed",
"https://irvanma.eu.org/oath",
...getAllPostLinks(),
...getAllLyricLinks(),
],
changefreq: "daily",
priority: 0.8,
lastmod: new Date(),
}),
tailwind({
config: {
applyBaseStyles: true,
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,16 @@
"@astrojs/mdx": "^0.18.3",
"@astrojs/partytown": "^1.2.0",
"@astrojs/prefetch": "^0.2.1",
"@astrojs/sitemap": "^1.2.2",
"@astrojs/rss": "^2.3.2",
"@astrojs/solid-js": "^2.1.0",
"@astrojs/tailwind": "^3.1.1",
"@astrojs/vercel": "^3.2.2",
"@astrojs/vercel": "^3.2.3",
"@domchristie/turn": "2.0.0-0",
"@hotwired/turbo": "^7.3.0",
"@tailwindcss/typography": "^0.5.9",
"@vite-pwa/astro": "^0.0.5",
"astro": "^2.2.1",
"astro-seo": "^0.7.2",
"extract-md-headings": "^0.2.5",
"gray-matter": "^4.0.3",
"lucide-solid": "^0.127.0",
"rehype-katex": "^6.0.2",
"remark-math": "^5.1.1",
Expand Down
Loading

1 comment on commit 355d0ef

@vercel
Copy link

@vercel vercel bot commented on 355d0ef Apr 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.