Skip to content

Commit

Permalink
feat(posts): docs minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Jan 7, 2017
1 parent 86189d9 commit b43002b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _app/_posts/note/2014-02-01-custom-heading-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ heading-img-width: 400
`heading-img`
: Heading image filename, if a relative URL (non-external URL) is provided, the file will be prefixed with `site.file`.

`heading-bg-local`
`heading-img-local`
: To avoid relative URL prefixed by `site.file`, you can set this option to `true` to prefix it with `amsf_user_assets`, then you can store your images in `_app/assets/`.

`heading-img-width`
Expand Down
1 change: 1 addition & 0 deletions _app/_posts/note/2017-01-06-open-graph.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ It will look for the image in the following order:
1. Use `page.thumbnail` if defined in your post [front-matter field](http://jekyllrb.com/docs/frontmatter/).
2. If no specified `page.thumbnail` defined, it uses [Heading Background Image]({{ site.base }}/custom-heading-background.html) (aka. `page.heading-bg`) if defined in your post front-matter field.
3. If no heading background image found, Curtana will try to grab the first image (wrapped inside `<img>`) in your post as your post thumbnail
4. If nothing found, it fails back to `logo.png` located at your site root.

You can always use `page.thumb_force_logo` in your post front-matter field to override the above lookup.

Expand Down

0 comments on commit b43002b

Please sign in to comment.