mirror of
https://github.com/10h30/astroplate.git
synced 2026-07-17 05:33:28 +09:00
update tsconfig and packages
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
---
|
||||
import Base from "@layouts/Base.astro";
|
||||
import { markdownify } from "@lib/utils/textConverter";
|
||||
import Base from "@/layouts/Base.astro";
|
||||
import { markdownify } from "@/lib/utils/textConverter";
|
||||
import { getEntryBySlug } from "astro:content";
|
||||
const entry = await getEntryBySlug("pages", "404");
|
||||
const { Content } = await entry.render();
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
import Base from "@layouts/Base.astro";
|
||||
import { getSinglePage } from "@lib/contentParser.astro";
|
||||
import PageHeader from "@partials/PageHeader.astro";
|
||||
import Base from "@/layouts/Base.astro";
|
||||
import { getSinglePage } from "@/lib/contentParser.astro";
|
||||
import PageHeader from "@/partials/PageHeader.astro";
|
||||
|
||||
export async function getStaticPaths() {
|
||||
const pages = await getSinglePage("pages");
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
import { Image } from "@astrojs/image/components";
|
||||
import Base from "@layouts/Base.astro";
|
||||
import { markdownify } from "@lib/utils/textConverter";
|
||||
import Base from "@/layouts/Base.astro";
|
||||
import { markdownify } from "@/lib/utils/textConverter";
|
||||
import { getEntryBySlug } from "astro:content";
|
||||
|
||||
const entry = await getEntryBySlug("pages", "about");
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
---
|
||||
import { Image } from "@astrojs/image/components";
|
||||
import BlogCard from "@components/BlogCard.astro";
|
||||
import Social from "@components/Social.astro";
|
||||
import config from "@config/config.json";
|
||||
import Base from "@layouts/Base.astro";
|
||||
import { getSinglePage } from "@lib/contentParser.astro";
|
||||
import { slugify } from "@lib/utils/textConverter";
|
||||
import BlogCard from "@/components/BlogCard.astro";
|
||||
import Social from "@/components/Social.astro";
|
||||
import config from "@/config/config.json";
|
||||
import Base from "@/layouts/Base.astro";
|
||||
import { getSinglePage } from "@/lib/contentParser.astro";
|
||||
import { slugify } from "@/lib/utils/textConverter";
|
||||
|
||||
export async function getStaticPaths() {
|
||||
const authors = await getSinglePage("authors");
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
---
|
||||
import AuthorCard from "@components/AuthorCard.astro";
|
||||
import Base from "@layouts/Base.astro";
|
||||
import { getSinglePage } from "@lib/contentParser.astro";
|
||||
import PageHeader from "@partials/PageHeader.astro";
|
||||
import AuthorCard from "@/components/AuthorCard.astro";
|
||||
import Base from "@/layouts/Base.astro";
|
||||
import { getSinglePage } from "@/lib/contentParser.astro";
|
||||
import PageHeader from "@/partials/PageHeader.astro";
|
||||
import { getEntryBySlug } from "astro:content";
|
||||
|
||||
const authorIndex = await getEntryBySlug<any, string>("authors", "_index");
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
---
|
||||
import BlogCard from "@components/BlogCard.astro";
|
||||
import config from "@config/config.json";
|
||||
import Base from "@layouts/Base.astro";
|
||||
import { getSinglePage } from "@lib/contentParser.astro";
|
||||
import { getTaxonomy } from "@lib/taxonomyParser.astro";
|
||||
import taxonomyFilter from "@lib/utils/taxonomyFilter";
|
||||
import PageHeader from "@partials/PageHeader.astro";
|
||||
import BlogCard from "@/components/BlogCard.astro";
|
||||
import config from "@/config/config.json";
|
||||
import Base from "@/layouts/Base.astro";
|
||||
import { getSinglePage } from "@/lib/contentParser.astro";
|
||||
import { getTaxonomy } from "@/lib/taxonomyParser.astro";
|
||||
import taxonomyFilter from "@/lib/utils/taxonomyFilter";
|
||||
import PageHeader from "@/partials/PageHeader.astro";
|
||||
|
||||
export async function getStaticPaths() {
|
||||
const categories = await getTaxonomy(
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
---
|
||||
import config from "@config/config.json";
|
||||
import Base from "@layouts/Base.astro";
|
||||
import { getAllTaxonomy, getTaxonomy } from "@lib/taxonomyParser.astro";
|
||||
import { humanize } from "@lib/utils/textConverter";
|
||||
import PageHeader from "@partials/PageHeader.astro";
|
||||
import config from "@/config/config.json";
|
||||
import Base from "@/layouts/Base.astro";
|
||||
import { getAllTaxonomy, getTaxonomy } from "@/lib/taxonomyParser.astro";
|
||||
import { humanize } from "@/lib/utils/textConverter";
|
||||
import PageHeader from "@/partials/PageHeader.astro";
|
||||
|
||||
const { blog_folder } = config.settings;
|
||||
const categories = await getTaxonomy(blog_folder, "categories");
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
import config from "@config/config.json";
|
||||
import Base from "@layouts/Base.astro";
|
||||
import PageHeader from "@partials/PageHeader.astro";
|
||||
import config from "@/config/config.json";
|
||||
import Base from "@/layouts/Base.astro";
|
||||
import PageHeader from "@/partials/PageHeader.astro";
|
||||
import { getEntryBySlug } from "astro:content";
|
||||
|
||||
const entry = await getEntryBySlug("pages", "contact");
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
---
|
||||
import { Image } from "@astrojs/image/components";
|
||||
import Base from "@layouts/Base.astro";
|
||||
import { markdownify } from "@lib/utils/textConverter";
|
||||
import CallToAction from "@partials/CallToAction.astro";
|
||||
import Testimonial from "@partials/Testimonial.astro";
|
||||
import Base from "@/layouts/Base.astro";
|
||||
import { markdownify } from "@/lib/utils/textConverter";
|
||||
import CallToAction from "@/partials/CallToAction.astro";
|
||||
import Testimonial from "@/partials/Testimonial.astro";
|
||||
import { getEntryBySlug } from "astro:content";
|
||||
import { FaCheck } from "react-icons/fa/index.js";
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
---
|
||||
import config from "@config/config.json";
|
||||
import Base from "@layouts/Base.astro";
|
||||
import PostSingle from "@layouts/PostSingle.astro";
|
||||
import { getSinglePage } from "@lib/contentParser.astro";
|
||||
import config from "@/config/config.json";
|
||||
import Base from "@/layouts/Base.astro";
|
||||
import PostSingle from "@/layouts/PostSingle.astro";
|
||||
import { getSinglePage } from "@/lib/contentParser.astro";
|
||||
|
||||
export async function getStaticPaths() {
|
||||
const posts = await getSinglePage(config.settings.blog_folder);
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
---
|
||||
import BlogCard from "@components/BlogCard.astro";
|
||||
import Pagination from "@components/Pagination.astro";
|
||||
import config from "@config/config.json";
|
||||
import Base from "@layouts/Base.astro";
|
||||
import { getSinglePage } from "@lib/contentParser.astro";
|
||||
import { getAllTaxonomy, getTaxonomy } from "@lib/taxonomyParser.astro";
|
||||
import { sortByDate } from "@lib/utils/sortFunctions";
|
||||
import PageHeader from "@partials/PageHeader.astro";
|
||||
import PostSidebar from "@partials/PostSidebar.astro";
|
||||
import BlogCard from "@/components/BlogCard.astro";
|
||||
import Pagination from "@/components/Pagination.astro";
|
||||
import config from "@/config/config.json";
|
||||
import Base from "@/layouts/Base.astro";
|
||||
import { getSinglePage } from "@/lib/contentParser.astro";
|
||||
import { getAllTaxonomy, getTaxonomy } from "@/lib/taxonomyParser.astro";
|
||||
import { sortByDate } from "@/lib/utils/sortFunctions";
|
||||
import PageHeader from "@/partials/PageHeader.astro";
|
||||
import PostSidebar from "@/partials/PostSidebar.astro";
|
||||
import { getEntryBySlug } from "astro:content";
|
||||
|
||||
const { blog_folder } = config.settings;
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
---
|
||||
import BlogCard from "@components/BlogCard.astro";
|
||||
import Pagination from "@components/Pagination.astro";
|
||||
import config from "@config/config.json";
|
||||
import Base from "@layouts/Base.astro";
|
||||
import { getSinglePage } from "@lib/contentParser.astro";
|
||||
import { getAllTaxonomy, getTaxonomy } from "@lib/taxonomyParser.astro";
|
||||
import { sortByDate } from "@lib/utils/sortFunctions";
|
||||
import PageHeader from "@partials/PageHeader.astro";
|
||||
import PostSidebar from "@partials/PostSidebar.astro";
|
||||
import BlogCard from "@/components/BlogCard.astro";
|
||||
import Pagination from "@/components/Pagination.astro";
|
||||
import config from "@/config/config.json";
|
||||
import Base from "@/layouts/Base.astro";
|
||||
import { getSinglePage } from "@/lib/contentParser.astro";
|
||||
import { getAllTaxonomy, getTaxonomy } from "@/lib/taxonomyParser.astro";
|
||||
import { sortByDate } from "@/lib/utils/sortFunctions";
|
||||
import PageHeader from "@/partials/PageHeader.astro";
|
||||
import PostSidebar from "@/partials/PostSidebar.astro";
|
||||
import { getEntryBySlug } from "astro:content";
|
||||
|
||||
const { blog_folder } = config.settings;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
---
|
||||
import config from "@config/config.json";
|
||||
import Base from "@layouts/Base.astro";
|
||||
import Search from "@layouts/Search";
|
||||
import { getSinglePage } from "@lib/contentParser.astro";
|
||||
import config from "@/config/config.json";
|
||||
import Base from "@/layouts/Base.astro";
|
||||
import Search from "@/layouts/Search";
|
||||
import { getSinglePage } from "@/lib/contentParser.astro";
|
||||
|
||||
const { blog_folder } = config.settings;
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
---
|
||||
import BlogCard from "@components/BlogCard.astro";
|
||||
import config from "@config/config.json";
|
||||
import Base from "@layouts/Base.astro";
|
||||
import { getSinglePage } from "@lib/contentParser.astro";
|
||||
import { getTaxonomy } from "@lib/taxonomyParser.astro";
|
||||
import taxonomyFilter from "@lib/utils/taxonomyFilter";
|
||||
import PageHeader from "@partials/PageHeader.astro";
|
||||
import BlogCard from "@/components/BlogCard.astro";
|
||||
import config from "@/config/config.json";
|
||||
import Base from "@/layouts/Base.astro";
|
||||
import { getSinglePage } from "@/lib/contentParser.astro";
|
||||
import { getTaxonomy } from "@/lib/taxonomyParser.astro";
|
||||
import taxonomyFilter from "@/lib/utils/taxonomyFilter";
|
||||
import PageHeader from "@/partials/PageHeader.astro";
|
||||
|
||||
export async function getStaticPaths() {
|
||||
const tags = await getTaxonomy(config.settings.blog_folder, "tags");
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
---
|
||||
import config from "@config/config.json";
|
||||
import Base from "@layouts/Base.astro";
|
||||
import { getAllTaxonomy, getTaxonomy } from "@lib/taxonomyParser.astro";
|
||||
import { humanize } from "@lib/utils/textConverter";
|
||||
import PageHeader from "@partials/PageHeader.astro";
|
||||
import config from "@/config/config.json";
|
||||
import Base from "@/layouts/Base.astro";
|
||||
import { getAllTaxonomy, getTaxonomy } from "@/lib/taxonomyParser.astro";
|
||||
import { humanize } from "@/lib/utils/textConverter";
|
||||
import PageHeader from "@/partials/PageHeader.astro";
|
||||
|
||||
const { blog_folder } = config.settings;
|
||||
const tags = await getTaxonomy(blog_folder, "tags");
|
||||
|
||||
Reference in New Issue
Block a user