summary: - adds prettier formatter configuration - formats the entire repo using prettier, ignoring minified files (`*.min.css`) and heavy generated html - changes extensions of all `.html` files to `.liquid`, which is more correct and necessary for prettier to work correctly - replaces "%-" and "-%" with just "%" — manual liquid formatting using minus signs is superfluous since we are compressing and minifying the code anyway - adds CI action for running prettier check on PR and pushes to master
50 lines
1.7 KiB
Markdown
50 lines
1.7 KiB
Markdown
---
|
|
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/9.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 path="assets/img/9.jpg" class="img-fluid rounded z-depth-1" %}
|
|
</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" %}
|
|
</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 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 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>
|