Add image credits

This commit is contained in:
James Walker 2015-03-13 14:30:51 -04:00
parent 418f413cb5
commit 36bad1dade
4 changed files with 24 additions and 3 deletions

View File

@ -1,10 +1,17 @@
<article class="hentry" role="article">
<header>
<h1 class="entry-title">{{ post.title }}</h1>
{% if post.image %}
<img class="feature-image" src="{{ post.image }}" alt="{{ post.title }}">
{% endif %}
<time datetime="{{ post.date | datetime | date_to_xmlschema }}" pubdate><a href="{{ post.url }}">{{ post.date | date: "%B %d, %Y" }}</a></time>
{% if post.image %}
<figure>
<img class="feature-image" src="{{ post.image }}" alt="{{ post.title }}">
{% if post.image_source %}
<figcaption>
<cite><a href="{{ post.image_source }}">{{ post.image_source }}</a></cite>
</figcaption>
{% endif %}
</figure>
{% endif %}
</header>
<div class="entry-content">
{{ content }}

View File

@ -4,6 +4,7 @@ title: "My Static Blog Toolkit"
date: 2015-03-05T18:02:04-05:00
summary: A rundown of the tools I (currently) use along side my octopress / jekyll blog
image: /images/2015/toolbox.jpg
image_source: https://flic.kr/p/c4QJzC
tags:
- site
---

View File

@ -66,6 +66,18 @@ body {
padding: 1em 0;
border-top: 1px solid #dedede;
figure {
margin: 0;
cite {
font-size: 0.8em;
a {
color: #ababab;
}
}
}
article.hentry {
border-bottom: 1px #dedede solid;

View File

@ -3,6 +3,7 @@ layout: {{ layout }}
title: {{ title }}
summary: {{ summary }}
image: {{ image }}
image_source: {{ image_source }}
date: {{ date }}
tags: {{ tags }}
---