Super Simple Markdown Blog is a small blog system to write posts in Markdown markup language.
Copyright(c) 2016 João Neto <[email protected]>
- Posts stored in ".md" files
- No database required
- List of posts by tag and author
- Search in posts
- About page
- Contact page
- Admin page
- Node.js powered
- Bootstrap blog template
Clone or download the ssmblog from github to a directory
Open prompt in this directory
$ npm install
$ node index.js
Open an internet browser in correspondent main page
When running in local mode the main page is http://localhost:8080/
Create a ".md" file in data/posts directory (ex. hello-world.md)
The name of file is the name of the post
Edit the post according to example bellow
---
title: "Post Title"
subtitle: "Post Subtitle"
template: "clean-blog/post.html"
background: "clean-blog/img/post-bg.jpg"
date: 2016-07-21 12:01:00.00 -3
updated: 2016-07-21 12:01:00.00 -3
author: "Post Author"
tags: "tag1,tag2"
---
Post contents section, write in this section all post text in Markdown markup language.
The url of post is http://localhost:8080/post/hello-world/
All posts is ordering by ascending date in home, tag, author and search pages
The posts created in data/drafts directory is only acessible by draft url like http://localhost:8080/drafts/hello-world/
When use ssmblog is possible to admin posts, drafts and images by Admin page.
When running in local mode the Admin page is http://localhost:8080/admin
- To correct delivery the emails of Contact page check the documentation of Nodemailer and adjust the transporter variable in index.js file
- To change the contents of About page edit the about.md file in views\clean-blog directory
- To change the global config of blog edit the config.yml file in main directory
- Set new secret on express-session middleware options
- Theme by Start Bootstrap
- Concept based in Hexo blog framework, but with much fewer resources
- Node.js
GNU GPLv3