Post with a Background Image

Here be a sample post with a custom background image. To utilize 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

1
/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

1
background: filename.png
to your
1
_config.yml
and BOOM — background images on every page!

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

Yong Tian

Yong Tian
Computer Science Master Student @ Tsinghua University

谈高考志愿与大学专业

又一年高考填志愿随想 Continue reading

马尔可夫链蒙特卡洛

Published on June 18, 2016

频率学派和贝叶斯学派

Published on April 13, 2016