Photo Credits
redeemefy opened this issue · comments
I don't know if the feature exists or not...
I'm using photos from Flickr with "All creative commons" license in my posts and I would like to include the author of the picture or in some way give credit to the person who shot the photograph. Could be a note just below the image or on top of the image on one of the bottom corners. If you can point me in the right direction I'll appreciated.
Well, I normally don't add images to the post, but the image I'm talking about is the one that get pulled from the img
property in the header.
---
layout: post
title: "Estados Unidos Descubierto en la Biblia"
date: 2018-05-29 22:05:20 -0300
description: El capitulo 7 de Daniel nos revela cuales las naciones de la actualidad y nos ayudan a identificar el desempeño que Estados Unidos tendría en el último tiempo.
img: aguila.jpg # Add image post (optional)
tags: # (optional)
---
Thanks, that was quick. I clone the repo and copied the folder assets/css
, and the file _layout/post.html
to my project. Then I added a fig-caption
to one of my posts, then jekyll build
and push to gh-pages. After a while I went to my blog to see the change but the credit doesn't show. I inspected the element...
It took longer than before. Thank you so much!
Closing the issue.
@diazgilberto You are welcome!
I'm trying to change font-weight
for the <figcaption>
. Mi thought is that if I add font-weight: 300;
in the _post-page.scss
like so...
figcaption {
position: absolute;
top: 20px;
right: 20px;
padding-left: 20px;
color: rgba(255, 255, 255, 0.7);
text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
font-weight: 700;
text-transform: uppercase;
font-size: 10px;
font-weight: 300;
}
and in the post.html
refactor the line to <figcaption>Photo By <b>{{page.fig-caption}}</b></figcaption>
, after I run jekyll build
, jekyll will compile my scss to css. I don't know if my assumption is wrong or not. I did the change and waited about 8 hours and I the change is not reflected. I inspected the element <figcaption>
and I don't see font-weight: 300;
. Can you point me to the right direction? If you like the change I can do a PR
.
- The caption will look better
- Consistency with the prefix
PHOTO BY
- Just add the person's name in
fig-caption: John Doe
PHOTO BY JOHN DOE