HoneDrops
Simple, flat-file CMS skelton which marks up HTML using Markdown.
It has small PHP file, .htaccess and Javascript markdown parser.
HoneDrops is inspired by Singularity CMS and MDwiki.
feature
- No Database
- Lightweight > Markdwon parser runs on your client.
- Easy install > Drop all files.
- Google search friendly.
- Indipend template engine.
- Flexible custmaization.
Demo
Source code
Required
- Web server and PHP.
Install
- Download and extract files.
- Upload files to Web server.
- Access to index.php.
Pages
Upload markdown files(.md) to content directory,
Markup
HoneDrops uses marked.js and github-markdown.css
Access
URL | files |
---|---|
/ | /content/index.md |
/index | /content/index.md |
/example | /content/example.md |
/sub01/ | /content/sub01/index.md |
/sub01/index | /content/sub01/index.md |
/sub01/example | /content/sub01/example.md |
/sub01/sub11/ | /content/sub01/sub11/index.md |
/sub01/sub11/index | /content/sub01/sub11/index.md |
/sub01/sub11/example | /content/sub01/sub11/example.md |
Customization
Server
please see index.php.
Page design
You will change page layout by template.php used Bootstrap and css/style.css.
Markdown
You will sett marked.js options on js/bonedrops.js.
Attrbution
please see js/bonedrops.js.
For example, add external link on A-tag
// Add external link on a-tag
var domain = "www.example.jp/wiki/";
$('a[href^=http]').not('[href*="'+domain+'"]').attr('target','_blank');
License
MIT License - Copyright (c) 2017 Yutaka Catch
Credits
Singularity CMS
- Copyright (c) 2012-2015 Christopher J. Su
- https://github.com/csu/singularity-cms
marked.js
- Copyright (c) 2011-2014, Christopher Jeffrey. (MIT License)
- https://github.com/chjj/marked/
github-markdown.css
- Copyright (c) Sindre Sorhus sindresorhus@gmail.com (sindresorhus.com)
- https://github.com/sindresorhus/github-markdown-css