Check out a working demo here
CMS.js currently supports two website modes, Github and Apache.
This is the default mode for CMS.js. Host your website on Github using Github Pages, similar to Jekyll.
Use apache mode if you choose to self host your content. If you choose this option, make sure Apache with htaccess is enabled.
- Clone the repo:
git clone https://github.com/cdmedia/cms.js.git
js/config.jsto your liking
- Make sure to set your
js/config.jsif using Github mode
- Visit your site!
How it works
In Github mode, CMS.js uses the Github API to get the content of your gh-pages repo and serve them as a full website.
In Apache mode, CMS.js takes advantage of Apache's Directory Indexing feature. By allowing indexes, CMS.js sends an AJAX call to your specified folders and looks for Markdown files. After they are found, it takes care of everything else and delivers a full website.
Migration from Jekyll
Once CMS.js is installed and running, simply copy all of your posts from your Jekyll project's
_post folder to your designated CMS.js posts folder.
Copy all of your Markdown pages from your Jekyll projects root folder into your designated CMS.js pages folder.
List of contributors
You can find the list of contributors here.
Node.js CMS 和Web应用平台：KeystoneJS
wring - Extract content from websites using CSS Selectors and XPath
照片库插件 Material Photo Gallery