diff options
Diffstat (limited to 'templates/blog-page.html')
| -rw-r--r-- | templates/blog-page.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/blog-page.html b/templates/blog-page.html index cd9785e..a46cd5d 100644 --- a/templates/blog-page.html +++ b/templates/blog-page.html @@ -1,6 +1,11 @@ {% extends "base.html" %} {% block content %} +{% if page.extra.image %} +<div class="blog-image-wrap"> + <a href="{{ page.permalink | safe}}"><img src="{{ page.extra.image | safe}}" alt="{{ page.title }}" class="blog-thumbnail"></a> +</div> +{% endif %} <h1 class="title"> {{ page.title }} </h1> |
