How to make Background Image

Reading time ~1 minute

Here be a sample post with a custom background image.
To use this “feature” just add the following YAML to a post’s front matter.

image:
  background: filename.png

This little bit of YAML makes the assumption that your background image asset is in the /images folder. If you place it somewhere else or are hotlinking from the web, just include the full http(s):// URL. Either way you should have a background image that is tiled.

If you want to set a background image for the entire site just add background: filename.png to your _config.yml and BOOM — background images on every page!

Background images from Subtle Patterns (Subtle Patterns) / CC BY-SA 3.0

【置顶】 Before All | 在浏览前

在开始浏览时,我希望你能先阅读这篇,尤其是中文用户, Continue reading

How to Avoid attack by "Eternal Blue"

Published on May 13, 2017

Xristmas gift | 圣诞礼物 | Cadeau de Noël

Published on December 25, 2016