{{ post.title }}
diff --git a/_layouts/page.html b/_layouts/page.html index 754c0651..9466931e 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -9,12 +9,13 @@ -{% include chrome-frame.html %} +{% include browser-upgrade.html %} {% include navigation.html %} {% if page.image.feature %}
+ {% if page.image.credit %}Photo Credit: {{ page.image.credit }}{% endif %}
{% endif %}
@@ -22,9 +23,7 @@
{% include author-bio.html %}
-
+ {{ page.title }}
-{{ page.title }}
{{ content }}
diff --git a/_layouts/post-index.html b/_layouts/post-index.html
index 6ed5c8b6..83cac079 100644
--- a/_layouts/post-index.html
+++ b/_layouts/post-index.html
@@ -9,33 +9,29 @@
-{% include chrome-frame.html %}
+{% include browser-upgrade.html %}
{% include navigation.html %}
-
-
+{% if page.image.feature %}
-
-
-{{ page.title }}
- {% if page.tagline %}{{ page.tagline }}
{% endif %} -
+
+ {% if page.image.credit %}Photo Credit: {{ page.image.credit }}{% endif %}
+
{% endif %}
{% include author-bio.html %}
+
{% else %} {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} {% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %} {% if year != nyear %}
{% endif %} {% endunless %}
diff --git a/_layouts/post.html b/_layouts/post.html
index de352d0d..5539ee0d 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -9,12 +9,13 @@
-{% include chrome-frame.html %}
+{% include browser-upgrade.html %}
{% include navigation.html %}
{% if page.image.feature %}
{{ page.title }}
{% for post in site.posts %} {% unless post.next %}{{ post.date | date: '%Y' }}
-{% else %} {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} {% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %} {% if year != nyear %}
{{ post.date | date: '%Y' }}
-{% endif %} {% endunless %}
+ {% if page.image.credit %}Photo Credit: {{ page.image.credit }}{% endif %}
{% endif %}
@@ -23,7 +24,7 @@
-
{{ page.title }}
+{{ page.title }}
{{ page.tagline }}
@@ -40,7 +41,7 @@
- {% if site.related_posts.size %}
+ {% if site.related_posts.size > 0 %}
You might also enjoy (View all articles)
-
{% for post in site.related_posts limit:3 %}
diff --git a/_posts/2011-03-10-sample-post.md b/_posts/2011-03-10-sample-post.md
index 62112a74..7c81c423 100644
--- a/_posts/2011-03-10-sample-post.md
+++ b/_posts/2011-03-10-sample-post.md
@@ -7,6 +7,8 @@ category: articles
tags: [intro, beginner, jekyll, tutorial]
image:
feature: texture-feature-05.jpg
+ credit: Texture Lovers
+ creditlink: http://texturelovers.com
---
- - -
- - -
- [value][name] -
-
-
-
-
-
-
-- * - * Extend this object into your markup. - * - */ - -.cite-style(@display:block, @text-align:right, @font-size: .875em) { - display: @display; - font-size: @font-size; - text-align: @text-align; -} - -.cite { - .cite-style; -} - - -// @Pull Quotes -// -------------------------------------------------------------------------- -// http://24ways.org/2005/swooshy-curly-quotes-without-images -// -// http://todomvc.com - Thanks sindresorhus! -// https://github.com/typeplate/typeplate.github.com/issues/49 - -/** - * Pull Quotes Markup - * - - * - * Extend this object into your custom stylesheet. - * - */ - -.pull-quotes(@font-size, @opacity) { - position: relative; - padding: (@font-size/@font-size); - &:before, - &:after { - height: (@font-size/@font-size); - opacity: @opacity; - position: absolute; - font-size: @font-size; - } - &:before { - content: '“'; - top: 0em; - left: 0em; - } - &:after { - content: '”'; - bottom: 0em; - right: 0em; - } -} - -.pull-quote { - .pull-quotes(4em, .15); -} - - -// @Figures -// -------------------------------------------------------------------------- - -/** - * Figures Markup - * - - * - * Extend this object into your markup. - * - */ - - - // @Footnotes -// -------------------------------------------------------------------------- - -/** - * Footnote Markup : Replace 'X' with your unique number for each footnote - * -″″
- - - -