hacks-guide-minimal-mistake.../_posts/2013-05-22-sample-post-images.md
2014-07-31 14:57:03 -04:00

2.6 KiB

layout title excerpt tags comments
post A Post with Images Examples and code for displaying images in posts.
sample post
images
test
true

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.

Figures (for images or video)

One Up

Morning Fog Emerging From Trees by A Guy Taking Pictures, on Flickr.

Vero laborum commodo occupy. Semiotics voluptate mumblecore pug. Cosby sweater ullamco quinoa ennui assumenda, sapiente occupy delectus lo-fi. Ea fashion axe Marfa cillum aliquip. Retro Bushwick keytar cliche. Before they sold out sustainable gastropub Marfa readymade, ethical Williamsburg skateboard brunch qui consectetur gentrify semiotics. Mustache cillum irony, fingerstache magna pour-over keffiyeh tousled selfies.

Two Up

Apply the half class like so to display two images side by side that share the same caption.

{% highlight html %}

Caption describing these two images.
{% endhighlight %}

And you'll get something that looks like this:

Two images.

Three Up

Apply the third class like so to display three images side by side that share the same caption.

{% highlight html %}

Caption describing these three images.
{% endhighlight %}

And you'll get something that looks like this:

Three images.