diff options
Diffstat (limited to '_layouts/post.html')
-rw-r--r-- | _layouts/post.html | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 04e3586..fd75b03 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,9 +1,10 @@ --- -layout: default +layout: master --- -<h2>{{ page.title }}</h2> -<p class="meta">{{ page.date | date_to_string }}</p> +<h1>{{ page.title }}</h1> + +{% if page.date %} +<div class="date">{{ page.date | to_date_string }}</div> +{% endif %} -<div class="post"> {{ content }} -</div> |