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

27 lines
504 B
Markdown

---
title: "Layout: Hero Image"
image: /assets/images/eder-oliveira-180877.jpg
categories:
- Layout
tags:
- content
- image
- layout
last_modified_at: 2017-03-17T10:46:49-04: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
```
Hero images can also be assigned like this:
```yaml
image:
path: /assets/images/eder-oliveira-180877.jpg
```