📰 Static blog made with middleman.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
screenshoots
source
.gitignore
Gemfile
Gemfile.lock
LICENSE.md
README.md
config.rb

README.md

Clear Blog

Static blog made with middleman

Live demo

Installation

You need to install Middleman before. Then, clone this repository and run bundle install in the directory.

You can now run middleman server, and middleman build.

Don't forget to check the file data/config.yml.

Use

Create an article

Run this command in the blog directory :

# middleman article "This is my great article"

Attach images

Put the image in source/images/ and then add

image: "/images/image.jpg"

in the top of the article between :

---
---

The best width for the images is 1200px.

Create a page

Create a file exemple.html.erb in source/ and add to it :

---
layout: "page"
title: "Exemple"
slug: "exemple"
---

, then add a file exemple.md in data/ and write the content of your page into it.

Credit

Using Middleman (under MIT License). The 3 pictures provided are licensed under Unsplash Licence and taken by Cole Patrick.

License

This blog template is licensed under MIT License. The logo is licensed under the Creative Commons Attribution 4.0 International License.