Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 607 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 607 Bytes

xdsselab.github.io

sselab@XDU - a static website build with angular

How To Write Blog

  1. add blog info to src/app/blog/blog.controller.js
  2. create blog markdown file in src/data/blog/[blog_title].md

Example:

1.src/app/blog/blog.controller.js

{"title": "blog template demo", "author": "x-web", "date": "2016-04-15", "digest": "This is a simple blog demo by angular-sap.", "tags": ["angular"]}

2.src/data/blog/2016-04-15-blog-template-demo.md

# This is a blog demo

Powered by markdown(marked).

3.browser http://path/to/blog/2016-04-15-blog-template-demo

LICENSE

MIT