Skip to content

xdubdilab/xdubdilab.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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