Remove prepend: "/" from includes and add to image path's instead

This commit is contained in:
Michael Rose
2016-10-10 11:48:30 -04:00
parent f0367ba52b
commit d3b2e49044
19 changed files with 78 additions and 78 deletions

View File

@@ -1,7 +1,7 @@
---
title: "Layout: Header Image Overlay"
header:
overlay_image: assets/images/unsplash-image-1.jpg
overlay_image: /assets/images/unsplash-image-1.jpg
caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
cta_url: "https://unsplash.com"
categories:
@@ -31,7 +31,7 @@ You can use it by specifying the opacity (between 0 and 1) of a black overlay li
```yaml
excerpt: "This post should [...]"
header:
overlay_image: assets/images/unsplash-image-1.jpg
overlay_image: /assets/images/unsplash-image-1.jpg
overlay_filter: 0.5 # same as adding an opacity of 0.5 to a black background
caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
cta_label: "More Info"
@@ -45,7 +45,7 @@ Or if you want to do more fancy things, go full rgba:
```yaml
excerpt: "This post should [...]"
header:
overlay_image: assets/images/unsplash-image-1.jpg
overlay_image: /assets/images/unsplash-image-1.jpg
overlay_filter: rgba(255, 0, 0, 0.5)
caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
cta_label: "More Info"