Add image credits
This commit is contained in:
parent
418f413cb5
commit
36bad1dade
@ -1,10 +1,17 @@
|
|||||||
<article class="hentry" role="article">
|
<article class="hentry" role="article">
|
||||||
<header>
|
<header>
|
||||||
<h1 class="entry-title">{{ post.title }}</h1>
|
<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>
|
<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>
|
</header>
|
||||||
<div class="entry-content">
|
<div class="entry-content">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
@ -4,6 +4,7 @@ title: "My Static Blog Toolkit"
|
|||||||
date: 2015-03-05T18:02:04-05:00
|
date: 2015-03-05T18:02:04-05:00
|
||||||
summary: A rundown of the tools I (currently) use along side my octopress / jekyll blog
|
summary: A rundown of the tools I (currently) use along side my octopress / jekyll blog
|
||||||
image: /images/2015/toolbox.jpg
|
image: /images/2015/toolbox.jpg
|
||||||
|
image_source: https://flic.kr/p/c4QJzC
|
||||||
tags:
|
tags:
|
||||||
- site
|
- site
|
||||||
---
|
---
|
||||||
|
@ -66,6 +66,18 @@ body {
|
|||||||
padding: 1em 0;
|
padding: 1em 0;
|
||||||
border-top: 1px solid #dedede;
|
border-top: 1px solid #dedede;
|
||||||
|
|
||||||
|
figure {
|
||||||
|
margin: 0;
|
||||||
|
|
||||||
|
cite {
|
||||||
|
font-size: 0.8em;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #ababab;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
article.hentry {
|
article.hentry {
|
||||||
border-bottom: 1px #dedede solid;
|
border-bottom: 1px #dedede solid;
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@ layout: {{ layout }}
|
|||||||
title: {{ title }}
|
title: {{ title }}
|
||||||
summary: {{ summary }}
|
summary: {{ summary }}
|
||||||
image: {{ image }}
|
image: {{ image }}
|
||||||
|
image_source: {{ image_source }}
|
||||||
date: {{ date }}
|
date: {{ date }}
|
||||||
tags: {{ tags }}
|
tags: {{ tags }}
|
||||||
---
|
---
|
||||||
|
Loading…
x
Reference in New Issue
Block a user