Added Image Credit

This commit is contained in:
Sandeep Chivukula 2013-08-01 22:39:13 -07:00
parent bf258a9319
commit 68e2014c84
2 changed files with 4 additions and 1 deletions

View file

@ -14,7 +14,7 @@
<div id="main" role="main" itemprop="mainContentOfPage">
<article class="hentry" itemscope itemtype="http://schema.org/BlogPosting">
{% if page.image.feature %}<img src="{{ site.url }}/images/{{ page.image.feature }}" class="entry-feature-image" alt="{{ page.title }}" itemprop="image">{% endif %}
{% if page.image.feature %}<img src="{{ site.url }}/images/{{ page.image.feature }}" class="entry-feature-image" alt="{{ page.title }}" itemprop="image">{% if page.image.credit %}<p class="image-credit">Photo Credit: <a class="image-credit" href={{page.image.creditlink}}>{{page.image.credit}}</a>{% endif %}{% endif %}
<div class="entry-wrapper">
<header class="entry-header">
<span class="entry-tags">{% for tag in page.tags %}<a href="{{ site.url }}/tags.html#{{ tag | cgi_encode }}" title="Pages tagged {{ tag }}" rel="tag">{{ tag }}</a>{% unless forloop.last %} &bull; {% endunless %}{% endfor %}</span>

View file

@ -627,3 +627,6 @@ span+.entry-title{margin-top:0;}
#goog-wm-qt{width:auto;margin-right:10px;}
#goog-wm-sb{display:inline-block;padding:8px 20px;background-color:#000000;color:#ffffff;border:2px solid #000000 !important;-webkit-border-radius:20px;-moz-border-radius:20px;border-radius:20px;}#goog-wm-sb:visited{color:#ffffff;}
#goog-wm-sb:hover{background-color:#ffffff;color:#000000;}
.image-credit{font-size:0.8rem; color: #999; margin-top:-40px;text-transform:uppercase}
.image-credit a{font-size:0.8rem; color: #999;}