0.1.1 • Published 6 years ago

ghp-blogs v0.1.1

Weekly downloads
85
License
MIT
Repository
github
Last release
6 years ago

Github Pages Blogs

The lib for build blogs with github pages easily.

Features

Init the lib

Init the lig with info of the blog host url, and the path of blog folder

  • blogs can be nested in type folders, egblogFolder/Javascript/xxx.md (1 level max)
  • blogs can be save in the root fo the blog folder

Generate index for blogs

Generate the index of blogs with meta data, like title, intro, cover, themeColor and etc. All this info can be used to show the blog list with out load the content.

Load index for blogs

Load the index file of blogs index

Fetch blog

Fetch a specific blog, one blog is loaded and it will be catched, next time there will directly load the blog content form memory.