Syncleus / middleman-ghoststa

A middleman blogger template based on ghoststa template for ghost.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

middleman-ghoststa

Installation

  1. Create a new project with the template:
middleman init -T Syncleus/middleman-ghoststa MY_PROJECT_FOLDER
  1. Change the ghoststa settings in config.rb.

Usage

Start a local web server running at http://localhost:4567/ with:

bundle exec middleman server

Create a static file with:

bundle exec middleman build

For help, see the official Middleman website.

Author

Configurable in config.rb:

config[:ghoststa] = {
  ...
  author: {
    name: 'Middleman'
  }
  ...
}

Navigation

Configurable in config.rb:

config[:ghoststa] = {
  ...
  navigation: {
    "Home" => "/",
    "GitHub" => "https://github.com",
    "Author" => "/author/middleman/"
  }
  ...
}

Logo

Configurable in config.rb:

config[:ghoststa] = {
  ...
  blog: {
    logo: 'my-awesome-blog-logo.png' # sources/images/my-awesome-blog-logo.png
  }
  ...
}

Pages

Content of example.html.markdown:

---
title: Example
layout: page
---

Welcome!

Covers

Covers are availible in pages and articles. Content of example.html.markdown:

---
title: Example
layout: page
cover: my-awesome-blog-cover.png # sources/images/my-awesome-blog-cover.png
---

Welcome!

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

A middleman blogger template based on ghoststa template for ghost.


Languages

Language:JavaScript 61.6%Language:Java 29.2%Language:HTML 5.3%Language:CSS 3.0%Language:Ruby 0.9%