TinkerSoc / TinkerWeb

Hugo based TinkerSoc website port
http://tinkersoc.org
0 stars 5 forks source link

Youtube Plugin #6

Closed graymalkin closed 8 years ago

graymalkin commented 8 years ago

We have a plugin to generate the HTML required for embedding youtube videos. A plugin is nice for this, as it keeps it consistent throughout the site, and we can automatically put the youtube videos in a wrapper which we have more control, when compared to the default output of the "Embed" option on YouTube.

Tatskaari commented 8 years ago

There's already a shortcode for youtube. Does the suffice? https://gohugo.io/extras/shortcodes/

graymalkin commented 8 years ago

Might well do, it would at least be consistent.

sigwinch28 commented 8 years ago

The shortcode does the job better. If it doesn't, it's only a custom shortcode away to play nice with bootstrap.