Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

kien-ngo/git-based-blog-nextjs

Repository files navigation

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

Adding articles

Simply create a new markdown file inside the ./src/articles folder. The app will automatically scan for the file and display it to the users. Make sure you set a proper title for said new file with the frontmatter format:

---
title: New aritcle
tags:
author:
---

This also works brilliantly with the good ol' getStaticProps and getStaticPaths, or any SSG framework for that matter.

About

A simple Git-based blogging app built with Next.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

AltStyle によって変換されたページ (->オリジナル) /