generated from alshedivat/al-folio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e149da
commit 34f8eed
Showing
2 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
layout: post | ||
title: a post with images | ||
date: 2015-05-15 21:01:00 | ||
description: this is what included images could look like | ||
tags: formatting images | ||
categories: sample-posts | ||
thumbnail: assets/img/fall2024.jpg | ||
--- | ||
|
||
This is an example post with image galleries. | ||
|
||
<div class="row mt-3"> | ||
<div class="col-sm mt-3 mt-md-0"> | ||
{% include figure.liquid loading="eager" path="assets/img/fall2024.jpg" class="img-fluid rounded z-depth-1" %} | ||
</div> | ||
<div class="col-sm mt-3 mt-md-0"> | ||
{% include figure.liquid loading="eager" path="assets/img/7.jpg" class="img-fluid rounded z-depth-1" %} | ||
</div> | ||
</div> | ||
<div class="caption"> | ||
A simple, elegant caption looks good between image rows, after each row, or doesn't have to be there at all. | ||
</div> | ||
|
||
Images can be made zoomable. | ||
Simply add `data-zoomable` to `<img>` tags that you want to make zoomable. | ||
|
||
<div class="row mt-3"> | ||
<div class="col-sm mt-3 mt-md-0"> | ||
{% include figure.liquid loading="eager" path="assets/img/8.jpg" class="img-fluid rounded z-depth-1" zoomable=true %} | ||
</div> | ||
<div class="col-sm mt-3 mt-md-0"> | ||
{% include figure.liquid loading="eager" path="assets/img/10.jpg" class="img-fluid rounded z-depth-1" zoomable=true %} | ||
</div> | ||
</div> | ||
|
||
The rest of the images in this post are all zoomable, arranged into different mini-galleries. | ||
|
||
<div class="row mt-3"> | ||
<div class="col-sm mt-3 mt-md-0"> | ||
{% include figure.liquid path="assets/img/11.jpg" class="img-fluid rounded z-depth-1" zoomable=true %} | ||
</div> | ||
<div class="col-sm mt-3 mt-md-0"> | ||
{% include figure.liquid path="assets/img/12.jpg" class="img-fluid rounded z-depth-1" zoomable=true %} | ||
</div> | ||
<div class="col-sm mt-3 mt-md-0"> | ||
{% include figure.liquid path="assets/img/7.jpg" class="img-fluid rounded z-depth-1" zoomable=true %} | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters