Skip to content

Latest commit

 

History

History
68 lines (42 loc) · 2.23 KB

README.md

File metadata and controls

68 lines (42 loc) · 2.23 KB

Netlify Status

blog.studio-hb.com

This blog is powered by Jekyll and hosted by Netlify.

You'll find all informations you need on their documentations.

Getting started

You can add authors in the config file if needed.

To generate a Gravatar hash simply sign up to Gravatar and fill the form here: https://en.gravatar.com/site/check/

Write a post

To write a post, you need to create a Markdown file in the _posts folder. At the very beginning of the file you need to change the Front Matter config, for instance :

---
title: My awesome post
layout: post
author: guillaumebriday
categories:
  - My awesome category
  - Another awesome category
image: 2020/07/my-awesome-image.jpg
image_caption: "Photo par: my awesome photographer"
---

To display images in the post, you need to include the image.html partial, for instance:

## My title

{% include image.html img="2020/07/admin-wordpress.png" caption="Interface de WordPress" %}

My content

Images are in the assets/images folder.

Before uploading, you should resize them (recommended size 1280 * 800 px) and optimize them with ImageOptim (macOS) or Trimage (Linux).

Preview posts locally

Clone the project, then bundle to install the required gems

You can then launch the local server and see future posts using:

bundle exec jekyll serve --future

Deployment

To deploy the blog on production, you simply need to push on master, Netlify handles everything for you.

Licence

This project is under MIT license.

About us

Studio HB is a Web agency specialized in the custom development.