2017 © Pedro Pelรกez
 

library starship

Starship is a static site generator for PHP.

image

starship/starship

Starship is a static site generator for PHP.

  • Wednesday, February 12, 2014
  • by ihabunek
  • Repository
  • 2 Watchers
  • 3 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Starship

A static site generator for PHP., (*1)

Basically a simpler Jekyll clone, with some PHP/Twig flavour. Written because @msvrtan was not happy about using a Ruby tool for generating ZgPHP web pages., (*2)

Usage

Create scaffolding for a new site:, (*3)

starship init /path/to/site

To generate an existing site, in the site folder run:, (*4)

starship build

To serve a site using the PHP dev server:, (*5)

starship serve

Directory structure

.
โ”œโ”€โ”€โ”€ _config.yml
โ”œโ”€โ”€โ”€ index.html
โ”œโ”€โ”€โ”€ _posts
โ”‚    โ”œโ”€โ”€โ”€ 2014-01-01-my-first-post.md
โ”‚    โ””โ”€โ”€โ”€ 2014-01-03-my-second-post.textile
โ”‚
โ”œโ”€โ”€โ”€ _drafts
โ”‚    โ””โ”€โ”€โ”€ 2014-01-07-my-third-post-in-progress.md
โ”‚
โ”œโ”€โ”€โ”€ news
โ”‚    โ”œโ”€โ”€โ”€  index.html
โ”‚    โ””โ”€โ”€โ”€ _posts
โ”‚         โ”œโ”€โ”€โ”€ 2013-10-19-breaking-news.md
โ”‚         โ””โ”€โ”€โ”€ 2013-10-24-unbreaking-news.md
โ”‚
โ”œโ”€โ”€โ”€ _includes
โ”‚    โ”œโ”€โ”€โ”€ footer.html
โ”‚    โ”œโ”€โ”€โ”€ navigation.html
โ”‚    โ””โ”€โ”€โ”€ sidebar.html
โ”‚
โ””โ”€โ”€โ”€ _templates
     โ”œโ”€โ”€โ”€ base.html
     โ””โ”€โ”€โ”€ post.html

The Versions

12/02 2014
12/02 2014
24/01 2014

0.1.0

0.1.0.0 https://github.com/ihabunek/starship

Starship is a static site generator for PHP.

  Sources   Download

MIT

The Requires

 

generator static web site jekyll