Skip to content

Latest commit

 

History

History
106 lines (77 loc) · 1.57 KB

README.md

File metadata and controls

106 lines (77 loc) · 1.57 KB

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