Adjust the site for proper submodule utilization

This commit is contained in:
Logic Kenzie 2023-09-25 08:13:51 -05:00
parent 1aac5ffa58
commit 9ff236d881
6 changed files with 11 additions and 8 deletions

View file

@ -3,9 +3,9 @@
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"dev": "NODE_PATH=. astro dev",
"start": "astro dev",
"build": "astro build",
"build": "NODE_PATH=. astro build",
"preview": "astro preview",
"astro": "astro"
},

View file

@ -1,5 +1,5 @@
---
import Layout from "../layouts/primary.astro"
import Layout from "layouts/primary.astro"
---
<Layout>
<h1>Hi there!</h1>

View file

@ -1,6 +1,6 @@
---
import Layout from "../layouts/primary.astro"
import BlogPost from "../components/blogpost.astro"
import Layout from "layouts/primary.astro"
import BlogPost from "components/blogpost.astro"
const allPosts = await Astro.glob('../pages/blog/*.md');
---
<Layout>

View file

@ -1,5 +1,5 @@
---
import Layout from "../layouts/primary.astro"
import Layout from "layouts/primary.astro"
---
<Layout>
<h1>Welcome to ~LogicallyLogi~</h1>

View file

@ -1,6 +1,6 @@
---
import Layout from "../layouts/primary.astro"
import ProjectDisplay from "../components/projectdisplay.astro";
import Layout from "layouts/primary.astro"
import ProjectDisplay from "components/projectdisplay.astro";
const projects = await Astro.glob('../pages/projects/*.md');
---
<Layout>

View file

@ -1,3 +1,6 @@
{
"compilerOptions": {
"baseUrl": "src"
},
"extends": "astro/tsconfigs/strictest"
}