Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
|
009d58f4be |
|
@ -35,6 +35,12 @@ Projects
|
||||||
Blog
|
Blog
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="link">
|
||||||
|
<a href="{{ get_url(path='/gallery') }}">
|
||||||
|
{{ load_data(path='static/image.svg') | safe }}
|
||||||
|
Photos
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
<div>
|
||||||
|
{% for asset in page.assets -%}
|
||||||
|
{%- if asset is matching("[.](jpg|png)$") -%}
|
||||||
|
{% set image = resize_image(path=asset, width=240, height=180) %}
|
||||||
|
<a href="{{ get_url(path=asset) }}" target="_blank">
|
||||||
|
<img src="{{ image.url }}" />
|
||||||
|
</a>
|
||||||
|
{%- endif %}
|
||||||
|
{%- endfor %}
|
||||||
|
</div>
|
Loading…
Reference in New Issue