dt801ts / sublime-hugo-theme

Sublime Themed Theme for Hugo Static Site Generator
MIT License
32 stars 15 forks source link

Request - Open Graph support. #5

Open Kaicastledine opened 7 years ago

Kaicastledine commented 7 years ago

Hello,

Any idea if Open Graph support is possible or on it's way ? http://ogp.me/

Will see if I can add it myself when I have some time free.

Reason: https://discourse.gohugo.io/t/adding-hyperlink-image/7235/2

Many thanks

ghost commented 7 years ago

If theme doesn't have it you can extend the head or base layout (whichever is appropriate for the theme) at site level and add the internal open graph template to achieve basic support.

To have change included in theme, rather than modifying default templates at the site level, consider creating a fork of theme and implement it there so theme author can see a working implementation before making a decision, thereby reducing effort and making it easy to incorporate feature if author chooses to use the work. That's a simple way to give back.

ghost commented 7 years ago

@Kaicastledine does that help?