Skip to content

A middleman blogger template based on ghoststa template for ghost.

Notifications You must be signed in to change notification settings

Syncleus/middleman-ghoststa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published