From 71d43e17a5750a4076ca49ce584cda5076a6780b Mon Sep 17 00:00:00 2001 From: Perry Woodin Date: Fri, 18 Nov 2016 10:08:07 -0500 Subject: [PATCH] Show the blog image with the content as well as in the hero MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - @tungfa Requested the blog post default image be shown along with the content. Not just as the hero image. - Updated the post layout file. We can’t pass along a translated title, so we need to output the as set in each individual blog post. --- _layouts/post.html | 112 ++++++++++++++++++++++++++++++++------------- 1 file changed, 81 insertions(+), 31 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index 4c88ed1..9e239ed 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,40 +1,90 @@ ---- -layout: default ---- +<!doctype html> +<html> + <head> + {% include base.html %} + <meta charset="UTF-8"> + <title>{% if page.title %}{{ page.title }} — {% endif %}Dash + -{% include hero/post.html %} + -
+ + + -
-
-
-
- {{ content }} + + + + + + {% include hero/post.html %} + +
+ +
+
+
+
+ {% if page.image %} + + {% endif %} + + {{ content }} +
+ + {% include author.html %}
+
-
+
-
+ +
+ {% include footer.html %} +
+ + +
+ + {% include nav-mobile.html %} +
+ + + + + + + + + +