etconsilium/applejackyll

Yet Another Jekyll Clone. Powered by Markdown, Twig, Console. Addicted by MLP ^__^

1.5.1 2014-11-18 19:28 UTC

This package is auto-updated.

Last update: 2024-04-23 04:57:36 UTC


README

Jeckyll clone

Install

  • with composer.json
    "require": {
	"php":">5.3",
	"etconsilium/applejackyll": "dev-master"
    }
    ,
    "repositories": [
	{
            "type": "vcs",
            "url": "https://github.com/etconsilium/applejackyll"
        }
    ]

  • w\o composer

download & unzip

$ilex = new \Silex\Application();
$ilex['autoloader']=new \Composer\Autoload\ClassLoader;
$ilex['autoloader']->add('Applejackyll',__DIR__.'/vendor/etconsilium/applejackyll/src');
$ilex['autoloader']->register();

Example

use \Applejackyll\Applejackyll;

$ajk=new Applejackyll('_config.yaml');
$ajk->parse();

or

(new \Applejackyll\Applejackyll)->init('_config.yaml')->parse();

Enjoy!

~VS \wl