Skip to content

Michieljoris/blog-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blog-example

Example implementation of bb-blog which is blogging extension for bb-server and html-builder, producing post pages, widgets, landing/latest, archive and tag pages. Pagination is added when there are more post teasers than fit on a page. Comments from Disqus can be enabled for all or per post. Also a little crud api is implemented so the blog could be managed from the site where the blog is implemented.

Clone the repo:

git clone git@github.com:Michieljoris/blog-example.git

Then:

cd blog-example
npm install
bower install
bin/serve

Open your browser at http://localhost:9100/post/blog-manual.html

Edit a post by clicking on it.

Open the file at server/blog-config.js to configure the blog and restart the server. So kill the serve process and again bin/serve.

The server needs to be restarted when changing recipes/config since bb-blog caches the recipes and configuration in memory.

TODO: After saving/deleting/updating open localhost:9100 again, since you might be looking at an old page. Posts that change their published status or that are removed are not yet properly purged from the public www directory.

About

Blog generated and served with bb-blog, bb-server and html-builder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages