You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.1 KiB
36 lines
1.1 KiB
{% extends "page_template.html" %}
|
|
|
|
{% block css %}
|
|
{{super()}}
|
|
<link rel="stylesheet" href="/portfolio.css?v=1"/>
|
|
{% endblock css %}
|
|
{% block content %}
|
|
<div class="center-tabs">
|
|
<div id="tabs">
|
|
{% for folder in section.subsections %}
|
|
{% set fold = get_section(path=folder) %}
|
|
<span id="{{ fold.title }}" class="tab-switch"></span>
|
|
<a href="#{{ fold.title }}" class="tab-link">{{ fold.title }}</a>
|
|
|
|
<div class="tab-content">
|
|
{% for categories in fold.subsections %}
|
|
{% set categorie = get_section(path=categories) %}
|
|
<h2>{{ categorie.title }}</h2>
|
|
{% for image_page in categorie.pages %}
|
|
{% for img in image_page.assets %}
|
|
{% if img is matching("[.](jpg|png|jpeg)$") and img is not containing('@') %}
|
|
<a href="{{ get_url(path=image_page.path) }}/">
|
|
{% set processed_img = resize_image(path=img, width=350, height=250, op="fit") %}
|
|
<img class="image-gallerie" src="{{ processed_img.url }}" />
|
|
</a>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</body>
|
|
{% endblock content %}
|