- Create a new project with the template:
middleman init -T Syncleus/middleman-ghoststa MY_PROJECT_FOLDER- Change the
ghoststasettings inconfig.rb.
Start a local web server running at http://localhost:4567/ with:
bundle exec middleman serverCreate a static file with:
bundle exec middleman buildFor help, see the official Middleman website.
Configurable in config.rb:
config[:ghoststa] = {
...
author: {
name: 'Middleman'
}
...
}Configurable in config.rb:
config[:ghoststa] = {
...
navigation: {
"Home" => "/",
"GitHub" => "https://github.com",
"Author" => "/author/middleman/"
}
...
}Configurable in config.rb:
config[:ghoststa] = {
...
blog: {
logo: 'my-awesome-blog-logo.png' # sources/images/my-awesome-blog-logo.png
}
...
}Content of example.html.markdown:
---
title: Example
layout: page
---
Welcome!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!- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request