mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Sean
23.34.2020 5001b28387cc9bc7ae0e592856d90ac53a8328e3
refs
author Sean <iUnknwn@users.noreply.github.com>
Tuesday, June 23, 2020 15:34 +0200
committer GitHub <noreply@github.com>
Tuesday, June 23, 2020 15:34 +0200
commit5001b28387cc9bc7ae0e592856d90ac53a8328e3
tree 2fb2c5c6bca23550a56f3789f0cbb0c64c2a0370 tree | zip | gz
parent 506175f56fc26cb0a2bd35b4280673c0bfcba9c6 view | diff
Add automatic cover image support (#303)

* Add support for auto-detection of featured images.

* Rename Partial, Add Documentation

Renamed the partial to func/GetFeaturedImage.html.

Additionally added more documentation in the partial to explain how it
worked, and what values were returned.

Co-authored-by: Sean Zimmermann <sz2243@columbia.edu>
3 files modified
1 files added
50 ■■■■ changed files
layouts/partials/func/GetFeaturedImage.html 35 ●●●●● diff | view | raw | blame | history
layouts/partials/page-header.html 2 ●●● diff | view | raw | blame | history
layouts/partials/summary-with-image.html 6 ●●●● diff | view | raw | blame | history
layouts/post/summary-with-image.html 7 ●●●●● diff | view | raw | blame | history