My personal website made with Node, Express and EJS. It has a very simple content management system specifically tailored to my needs. For styling I used Bootstrap CSS. Basicially, this is a really constraint and inefficient static site generator. Which works perflectly fine!
It works as follows:
- I write blogs in markdown format it can be mixed with html when needed
- Metadata is read from the markdown files with and put into a json file this file is used to generate index.html
- Markdown is transformed into static html and is served by express
Install python dependencies:
markdown2
feedgen
Install them globally or use a virtual environment.
npm install
To run the development server
npm run dev
To build the blog
npm run build
If you want to use this blog for yourself, remove the blogs in ./blog
and put in your own.