Skip to content

tbollinger/duresscrew.com

Repository files navigation

This is a Next 13 project.

Writing a Blog Post

Create a basic markdown post in the src/app/content directory. Changes made to this github repo will automatically be deployed to the live site. You can break the site if you mess up the format, so follow the blog template found at src/blog-template.md. It's pretty straightforward. You can learn more about markdown here: https://www.markdownguide.org/basic-syntax/

Content

I've implemented the "blog" as a markdown reader. It'll read any files in the src/app/content directory and display them as a blog post.

The src/app/[slug]/page.tsx file is a basic "catch-all" because there's something wrong with src/app/not-found.tsx not working.

Getting Started

I've chosen to use pnpm as my package manager. You can install it with npm install -g pnpm.

pnpm install
pnpm run dev

Open http://localhost:3000 with your browser to see the result. You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

Learn More

To learn more about Next.js, take a look at the following resources: