Add image attribution for post and page feature images
This commit is contained in:
@@ -6,6 +6,8 @@ description: "Instructions on how to install and customize the Jekyll theme Mini
|
||||
tags: [Jekyll, theme, responsive]
|
||||
image:
|
||||
feature: texture-feature-02.jpg
|
||||
credit: Texture Lovers
|
||||
creditlink: http://texturelovers.com
|
||||
---
|
||||
|
||||
<section id="table-of-contents" class="toc">
|
||||
@@ -106,6 +108,15 @@ image:
|
||||
thumb: thumbnail-image.jpg #keep it square 200x200 px is good
|
||||
{% endhighlight %}
|
||||
|
||||
If you want to apply attribution to a feature image use the following YAML front matter on posts or pages. Image credits appear directly below the feature image with a link back to the original source.
|
||||
|
||||
{% highlight yaml %}
|
||||
image:
|
||||
feature: feature-image-filename.jpg
|
||||
credit: Michael Rose #name of the person or site you want to credit
|
||||
creditlink: http://mademistakes.com #url to their site or licensing
|
||||
{% endhighlight %}
|
||||
|
||||
#### Thumbnails for OG and Twitter Cards
|
||||
|
||||
Post and page thumbnails work the same way. These are used by [Open Graph](https://developers.facebook.com/docs/opengraph/) and [Twitter Cards](https://dev.twitter.com/docs/cards) meta tags found in *head.html*. If you don't assign a thumbnail the default graphic *(default-thumb.png)* is used. I'd suggest changing this to something more meaningful --- your logo or avatar are good options.
|
||||
|
||||
Reference in New Issue
Block a user