-
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.
Merge pull request #6 from BlueHuskyStudios/feature/4-Gallery
Added thumbnails and single-item galleries
- Loading branch information
Showing
4 changed files
with
24 additions
and
0 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,5 @@ | ||
|
||
{%- if include.caption %} | ||
<figcaption class="caption">{{ include.caption }}</figcaption> | ||
{%- endif %} | ||
</figure> |
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,2 @@ | ||
|
||
<figure class="thumbnail-gallery card {%- if include.raised %} raised {%- endif %}"> |
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,8 @@ | ||
|
||
{% include ./single-item-highlight-custom-start.html | ||
raised=include.raised | ||
%} | ||
<a href="{{ include.full }}" target="_blank" class="thumbnail-full-image-link"><img src="{{ include.thumb | default: include.full }}" {%- if include.alt %} alt="{{ include.alt }}" {%- endif %} class="thumbnail" /></a> | ||
{% include ./single-item-highlight-custom-end.html | ||
caption=include.caption | ||
%} |
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,9 @@ | ||
|
||
<figure class="thumbnail-gallery card flex-row flex-wrap flex-horiz-space-around"> | ||
{% for image in include.images -%} | ||
<a href="{{ image.full }}" target="_blank" class="thumbnail-full-image-link"><img src="{{ image.thumb | default: image.full }}" {%- if image.alt %} alt="{{ image.alt }}" {%- endif %} class="thumbnail" /></a> | ||
{%- endfor %} | ||
{%- if include.caption %} | ||
<figcaption class="caption">{{ include.caption }}</figcaption> | ||
{%- endif %} | ||
</figure> |