datat.fi/example/_posts/2012-03-14-layout-hero-imag...

27 lines
504 B
Markdown
Raw Normal View History

---
2017-03-17 17:52:28 +02:00
title: "Layout: Hero Image"
image: /assets/images/eder-oliveira-180877.jpg
categories:
- Layout
tags:
- content
- image
- layout
2017-03-17 17:52:28 +02:00
last_modified_at: 2017-03-17T10:46:49-04:00
---
2017-03-17 17:52:28 +02:00
This post should display a large hero image at the top of a page.
This post tests a horizontal image using the following YAML Front Matter:
```yaml
image: /assets/images/eder-oliveira-180877.jpg
```
2017-03-17 17:52:28 +02:00
Hero images can also be assigned like this:
```yaml
image:
path: /assets/images/eder-oliveira-180877.jpg
2017-03-17 17:52:28 +02:00
```