mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-12-23 00:56:01 +00:00
Document image credits (for feature images)
This commit is contained in:
parent
be32f2eb02
commit
4412636f5d
1 changed files with 9 additions and 0 deletions
|
@ -185,6 +185,15 @@ image:
|
|||
thumb: thumbnail-image.jpg #keep it square 200x200 px is good
|
||||
```
|
||||
|
||||
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.
|
||||
|
||||
``` 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
|
||||
```
|
||||
|
||||
#### Categories
|
||||
|
||||
In the sample `_posts` folder you may have noticed `category: articles` in the front matter. I like keeping all posts grouped in the same folder. If you decide to rename or add categories you will need to modify the permalink in `articles.md` along with the filename (if renaming).
|
||||
|
|
Loading…
Reference in a new issue