2017 © Pedro Peláez
 

library generator-html

Static site

image

beesoft/generator-html

Static site

  • Thursday, May 3, 2018
  • by beesoft
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Katana static site & blog generator

Latest Version on Packagist Software License Total Downloads, (*1)

PHP static site & blog generator with markdown support., (*2)

Using the power of laravel's Blade templating engine., (*3)

This repository contains the core code. If you want to use Katana visit this repository, (*4)

Installation

To install a fresh Katana installation you need to install composer & run the following command:, (*5)

composer create-project themsaid/katana my-new-site

Once the installation is done you may build your website using the command:, (*6)

php katana build

Katana is shipped with sample content to help you get started immediately, and after this command runs your site will be generated in the /public directory., (*7)

Documentation

The complete Katana documentation can be found here: http://themsaid.github.io/katana/, (*8)

Blog generator

Katana is shipped with a static blog generator, all you need to do is create a new .blade.php file in the /content/_blog directory and Katana will compile all the posts and present them in a view of your choice., (*9)

Blog posts list is paginated based on the configuration options in config.php. There's also a $blogPosts variable available in all your blade views that contains an array of posts., (*10)

Blade templating engine

Blade is a simple yet powerful templating engine built for laravel, you need to check Blade's documentation if you're not already familiar with it., (*11)

Using with GitHub Pages

You can use Katana to publish a website over GitHub Pages using subtrees, the idea is to deploy the public directory as the master branch of your user GitHub pages repository or the gh-pages branch of your project repository., (*12)

You can find the full details in the documentation., (*13)

The Versions

03/05 2018

dev-master

9999999-dev

Static site

  Sources   Download

MIT

The Requires

 

generator cms markdown blade static site flat-file