mirror of
https://github.com/hacks-guide/minimal-mistakes.git
synced 2024-11-24 01:09:46 +00:00
Update example HTML to include links to larger images to display via Magnific Popup script
Fixes #21
This commit is contained in:
parent
56de806fa2
commit
a94ad3e18d
@ -22,9 +22,9 @@ Apply the `half` class like so to display two images side by side that share the
|
||||
|
||||
{% highlight html %}
|
||||
<figure class="half">
|
||||
<img src="/images/image-filename-1.jpg">
|
||||
<img src="/images/image-filename-2.jpg">
|
||||
<figcaption>Caption describing these two images.</figcaption>
|
||||
<a href="{{ site.url }}/images/image-filename-1-large.jpg"><img src="{{ site.url }}/images/image-filename-1.jpg"></a>
|
||||
<a href="{{ site.url }}/images/image-filename-2-large.jpg"><img src="{{ site.url }}/images/image-filename-2.jpg"></a>
|
||||
<figcaption>Caption describing these two images.</figcaption>
|
||||
</figure>
|
||||
{% endhighlight %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user