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.
- No Database
- Lightweight > Markdwon parser runs on your client.
- Easy install > Drop all files.
- Google search friendly.
- Indipend template engine.
- Flexible custmaization.
- Web server and PHP.
- Download and extract files.
- Upload files to Web server.
- Access to index.php.
Upload markdown files(.md) to content directory,
HoneDrops uses marked.js and github-markdown.css
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 |
please see index.php.
You will change page layout by template.php used Bootstrap and css/style.css.
You will sett marked.js options on js/bonedrops.js.
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');
MIT License - Copyright (c) 2017 Yutaka Catch
- Copyright (c) 2012-2015 Christopher J. Su
- https://github.com/csu/singularity-cms
- Copyright (c) 2011-2014, Christopher Jeffrey. (MIT License)
- https://github.com/chjj/marked/
- Copyright (c) Sindre Sorhus [email protected] (sindresorhus.com)
- https://github.com/sindresorhus/github-markdown-css