add support for featured image
This commit is contained in:
parent
1e9a0ad13f
commit
f670e869c7
3 changed files with 4 additions and 1 deletions
|
@ -15,6 +15,7 @@ layout: default
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h3 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h3>
|
<h3 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h3>
|
||||||
|
<img alt="{{ page.title }} | Developer Blog How To" title="{{page.image-attrib}}" src="../assets/images/{{page.image}}" />
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="post-content e-content" itemprop="articleBody">
|
<div class="post-content e-content" itemprop="articleBody">
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
---
|
---
|
||||||
title: "Hello, World! A New Site for Dev Life Hacks!"
|
title: "Hello, World! A New Site for Dev Life Hacks!"
|
||||||
permalink: '/hello-world'
|
permalink: "/hello-world"
|
||||||
|
image: "hello-world.jpg"
|
||||||
|
image-attrib: "Photo stock by Lukas from Pexel."
|
||||||
---
|
---
|
||||||
|
|
||||||
It's kind of getting old, I know.
|
It's kind of getting old, I know.
|
||||||
|
|
BIN
assets/images/hello-world.jpg
Normal file
BIN
assets/images/hello-world.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 MiB |
Loading…
Reference in a new issue