Skip to content

nexxeln/blog-1

 
 

Repository files navigation

alistair.blog

alistair.blog

A basic blogging site that uses Next.js whislt shipping zero client JS!

I want to use this as a template!

I'm honoured! Feel free to fork the repo and then edit out places that have my name with your name. Then you can delete all of the posts in the src/posts/<date> folder and starting writing your own! Remember to import the post in the src/posts/index.ts file to register it listed.

Creating a new post

Creating a post is fairly simple, you just need to create a new class that extends the abstract class Post and implement the members. These are a name, date, a few other properties and cruically, a render() method that returns the content of this post.

About

v2 of alii/alistair-blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 83.1%
  • JavaScript 15.3%
  • CSS 1.6%