+
{{ post.content | strip_html | truncatewords: 30 }}
diff --git a/_layouts/post.html b/_layouts/post.html
index 82d9079..356a016 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -4,16 +4,21 @@ layout: default
- Written by
+ {% if page.author or page.date %}
+ Written
+ {% if page.author %}
+ by
{% if page.author %}
{{ page.author }}
{% else %}
{{ site.author.name }}
{% endif %}
+
+ {% endif %}
{% if page.date %}
-
- on
+ on
+ {% endif %}
{% endif %}
@@ -35,5 +40,5 @@ layout: default
→
{% endif %}
-
Top
-