Remove deprecated base_path include helper

This commit is contained in:
Michael Rose
2018-09-11 09:58:22 -04:00
parent 2f40bb6403
commit 90f5a98406
9 changed files with 18 additions and 30 deletions

View File

@ -18,8 +18,6 @@ tags:
last_modified_at: 2016-05-02T11:39:01-04:00
---
{% include base_path %}
This post should display a **header with an overlay image**, if the theme supports it.
Non-square images can provide some unique styling issues.
@ -30,7 +28,7 @@ This post tests overlay header images.
You can use it by specifying the opacity (between 0 and 1) of a black overlay like so:
![transparent black overlay]({{ basepath }}/assets/images/mm-header-overlay-black-filter.jpg)
![transparent black overlay]({{ '/assets/images/mm-header-overlay-black-filter.jpg' | relative_url }})
```yaml
excerpt: "This post should [...]"
@ -45,7 +43,7 @@ header:
Or if you want to do more fancy things, go full rgba:
![transparent red overlay]({{ basepath }}/assets/images/mm-header-overlay-red-filter.jpg)
![transparent red overlay]({{ '/assets/images/mm-header-overlay-red-filter.jpg' | relative_url }})
```yaml
excerpt: "This post should [...]"