We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1294c91 commit 81e2aecCopy full SHA for 81e2aec
css/main.css
@@ -19,3 +19,7 @@
19
.site-nav {
20
display: inline-block;
21
}
22
+
23
+.gallery img {
24
+ max-width: 30%;
25
+}
meiz/index.html
@@ -3,11 +3,13 @@
3
title: Meiz
4
---
5
6
+<div class="gallery">
7
{% for file in site.static_files -%}
8
{%- assign pageurl = page.url | replace: 'index.html', '' -%}
9
{%- if file.path contains pageurl -%}
10
{%- if file.extname == '.jpg' %}
- <img src="{{ site.baseurl }}{{ file.path }}" alt="{{ file.basename }}" style="max-width:30%">
11
+ <img src="{{ site.baseurl }}{{ file.path }}" alt="{{ file.basename }}">
12
{%- endif -%}
13
14
{% endfor -%}
15
+</div>
0 commit comments