From b975cdff86bd3a0f57ef630fadf325603115a7ca Mon Sep 17 00:00:00 2001 From: Oscar Cortez Date: Mon, 20 Jul 2015 22:34:20 -0600 Subject: [PATCH] Style for the page layout --- _layouts/page.html | 26 +++++----- index.html | 119 +++++++++++++++++++++++---------------------- 2 files changed, 77 insertions(+), 68 deletions(-) diff --git a/_layouts/page.html b/_layouts/page.html index 74c1a11..d4659cc 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -1,14 +1,18 @@ --- layout: default --- -
- -
-

{{ page.title }}

-
- -
- {{ content }} -
- -
+
+
+
+
+
+
+ {{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %} +
+

{{ page.title }}

+
+

{{ content }}

+
+
+
+
diff --git a/index.html b/index.html index c68ef45..84e6f88 100644 --- a/index.html +++ b/index.html @@ -1,70 +1,75 @@ --- layout: default --- +
+
+ {% if site.post_type == 'highlight' %} -{% if site.post_type == 'highlight' %} + {% include highlight_post.html %} - {% include highlight_post.html %} + {% for post in site.posts offset:1 %} - {% for post in site.posts offset:1 %} - -
-
-

{{ post.title }}

-
-
- {{ post.excerpt }} -
- - -
- -
    -
  • Facebook
  • -
  • Twitter
  • -
  • Google+
  • -
+ +
+ +
    +
  • Facebook
  • +
  • Twitter
  • +
  • Google+
  • +
+
-
- {% endfor %} + {% endfor %} -{% else %} + {% else %} - {% for post in site.posts %} -
-
-

{{ post.title }}

-
-
- {{ post.excerpt }} -
- - -
- -
    -
  • Facebook
  • -
  • Twitter
  • -
  • Google+
  • -
+ +
+ +
    +
  • Facebook
  • +
  • Twitter
  • +
  • Google+
  • +
+
-
- {% endfor %} -{% endif %} + {% endfor %} + + {% endif %} +
+