Skip to content

jfmedeirosneto/ssmblog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssmblog

Super Simple Markdown Blog is a small blog system to write posts in Markdown markup language.

Copyright(c) 2016 João Neto <jfmedeirosneto@yahoo.com.br>

Features

  • 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

Run ssmblog

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/

Write blog posts

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/

Admin page

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

Tips

  • 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

Screenshots

Home Page

Home

Post Page

Post

About Page

About

Contact Page

Contact

Search Page

Search

Search Results Page

Search Results

Tag Page

Tag

Author Page

Author

Admin Page

Admin Page

Credits

License

GNU GPLv3

About

ssmblog - Super Simple Markdown Blog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published