Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dldx/hpstr-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '_posts/2013-10-26-background-image.md')
-rw-r--r--_posts/2013-10-26-background-image.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/_posts/2013-10-26-background-image.md b/_posts/2013-10-26-background-image.md
index 5992f9d..95d3c17 100644
--- a/_posts/2013-10-26-background-image.md
+++ b/_posts/2013-10-26-background-image.md
@@ -9,10 +9,10 @@ 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.
-{% highlight yaml %}
+```yaml
image:
background: filename.png
-{% endhighlight %}
+```
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.