From 29651298628bbd0fbdccbf169a09853f084284c3 Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Mon, 30 Mar 2015 12:02:36 -0400 Subject: layout tweaks --- _layouts/post.html | 4 ++-- _sass/_brand.scss | 1 + _sass/font-awesome/_icons.scss | 2 +- projects/index.html | 8 +++----- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index 01e2484..1ff0a3e 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -29,9 +29,9 @@ layout: master
-

— Related Posts —

+ {% for post in site.related_posts limit:3 %} -

{{ post.title }}

+

{{ post.title }}

{% endfor %}
diff --git a/_sass/_brand.scss b/_sass/_brand.scss index b18521e..845deac 100644 --- a/_sass/_brand.scss +++ b/_sass/_brand.scss @@ -31,6 +31,7 @@ footer { @extend .center; font-family: $sans; font-size: 0.8rem; + margin-top: 2rem; } header nav a { diff --git a/_sass/font-awesome/_icons.scss b/_sass/font-awesome/_icons.scss index 868c103..eccb8cf 100644 --- a/_sass/font-awesome/_icons.scss +++ b/_sass/font-awesome/_icons.scss @@ -147,7 +147,7 @@ // .#{$fa-css-prefix}-sign-out:before { content: $fa-var-sign-out; } // .#{$fa-css-prefix}-linkedin-square:before { content: $fa-var-linkedin-square; } // .#{$fa-css-prefix}-thumb-tack:before { content: $fa-var-thumb-tack; } -// .#{$fa-css-prefix}-external-link:before { content: $fa-var-external-link; } +.#{$fa-css-prefix}-external-link:before { content: $fa-var-external-link; } // .#{$fa-css-prefix}-sign-in:before { content: $fa-var-sign-in; } // .#{$fa-css-prefix}-trophy:before { content: $fa-var-trophy; } // .#{$fa-css-prefix}-github-square:before { content: $fa-var-github-square; } diff --git a/projects/index.html b/projects/index.html index 2c3b837..49365a9 100644 --- a/projects/index.html +++ b/projects/index.html @@ -5,11 +5,9 @@ description: Projects I’ve done. --- {% for project in site.data.projects %} -{% if project.live %} -

{{ project.name }}

-{% else %} -

{{ project.name }}

-{% endif %} + +

{{ project.name }} {% if project.live %}{% endif %}

+