Skip to content

A template for a personal site, complete with a markdown blog.

License

Notifications You must be signed in to change notification settings

sripkunda/personal-blog-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal Blog Template

A lightweight markdown blog with build from scratch with HTML, CSS, JS, and Mustache. Complete with katex (rendering math quickly with latex), highlighted code blocks, and development tools.

Usage

First create a new repository using this one as a template.

Configuring the text and adding posts can be done in the src directory. Edit the home page with site.home.json. Create new markdown files in the blog directory to add writing.

To build the project, run:

npm run build

To automatically run npm run build whenever there is a change, use

npm run start

To deploy the build folder (assuming that you have a git repository in there, such as https://github.com/sripkunda/sripkunda.github.io), run:

npm run deploy

The command basically just builds the project, then commits and pushes the changes to the main branch of the repo in the build folder. In order for this to work, you should set up a repository for your site through github.

About

A template for a personal site, complete with a markdown blog.

Resources

License

Stars

Watchers

Forks