From 7139d61c62cd89953a778cef87d2bc836602a466 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Mon, 22 Feb 2016 22:46:59 -0500 Subject: [PATCH] Add basic schema structure --- _layouts/archive.html | 8 ++++---- _layouts/home.html | 8 ++++---- _layouts/post.html | 22 +++++++++++++++------- 3 files changed, 23 insertions(+), 15 deletions(-) diff --git a/_layouts/archive.html b/_layouts/archive.html index 36155a91..4f990a41 100644 --- a/_layouts/archive.html +++ b/_layouts/archive.html @@ -13,12 +13,12 @@ layout: default

{{ year }}

{% capture written_year %}{{ year }}{% endcapture %} {% endif %} -
+
{% if post.link %} -

{{ post.title }}

+

{{ post.title }}

{% else %} -

{{ post.title }}

-

{{ post.excerpt | remove: '\[ ... \]' | remove: '\( ... \)' | markdownify | strip_html | strip_newlines | escape_once }}

+

{{ post.title }}

+

{{ post.excerpt | remove: '\[ ... \]' | remove: '\( ... \)' | markdownify | strip_html | strip_newlines | escape_once }}

{% endif %}
{% endfor %} diff --git a/_layouts/home.html b/_layouts/home.html index 00318149..4d4dee22 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -7,12 +7,12 @@ layout: default

Recent Posts

{% for post in site.posts limit:5 %} -
+ {% endfor %} diff --git a/_layouts/post.html b/_layouts/post.html index 0c795ae6..33bbb23e 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -4,18 +4,26 @@ layout: default {% include absolute-url.liquid %} -
+
+ + {% if page.date %}{% endif %} + {% if page.modified %}{% endif %} +
- {% if page.link %} -

{{ page.title }}

- {% else %} -

{{ page.title }}

- {% endif %} +
+ {% if page.link %} +

{{ page.title }}

+ {% else %} +

{{ page.title }}

+ {% endif %} +
+
{{ content }} +

- +