Video embeds are responsive and scale with the width of the main content block with the help of FitVids.
Adding YouTube video embeds causes errors when building your Jekyll site. To fix wrap the html within {::nomarkdown}
tags. Example below:
Video embeds are responsive and scale with the width of the main content block with the help of FitVids.
Adding YouTube video embeds causes errors when building your Jekyll site. To fix wrap the html within {::nomarkdown}
tags. Example below:
Here are some examples of what a post with images might look like. If you want to display two or three images next to each other responsively use figure
with the appropriate class
. Each instance of figure
is auto-numbered and displayed in the caption.
Apply the half
class like so to display two images side by side that share the same caption.
And you’ll get something that looks like this:
Apply the third
class like so to display three images side by side that share the same caption.
And you’ll get something that looks like this:
Another way to achieve the same result is to include gallery
Liquid template. In this case you
don’t have to write any HTML tags – just copy a small block of code, adjust the parameters (see below)
and fill the block with any number of links to images. You can mix relative and external links.
Here is the block you might want to use:
Parameters:
caption
: Sets the caption under the gallery (see figcaption
HTML tag above);cols
: Sets the number of columns of the gallery.
Available values: [1..3].It will look something like this: