Static blog made with middleman
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
.
Run this command in the blog directory :
# middleman article "This is my great article"
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 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.
Using Middleman (under MIT License). The 3 pictures provided are licensed under Unsplash Licence and taken by Cole Patrick.
This blog template is licensed under MIT License. The logo is licensed under the Creative Commons Attribution 4.0 International License.