/HoneDrops

Simple, flat-file CMS skelton which marks up HTML using Markdown.

Primary LanguageCSSMIT LicenseMIT

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

  1. No Database
  2. Lightweight > Markdwon parser runs on your client.
  3. Easy install > Drop all files.
  4. Google search friendly.
  5. Indipend template engine.
  6. Flexible custmaization.

Demo

Source code

Required

  • Web server and PHP.

Install

  1. Download and extract files.
  2. Upload files to Web server.
  3. 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

marked.js

github-markdown.css