Brume's website https://brume.ink
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.
 
 

34 lines
1.0 KiB

{% extends "page_template.html" %}
{% block css %}
{{super()}}
<link rel="stylesheet" href="/portfolio.css"/>
{% 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)$") %}
<a href="{{ get_url(path=image_page.path) }}">
<img class="image-gallerie" src="{{ resize_image(path=img, width=350, height=250, op="fit") }}" />
</a>
{% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
</div>
{% endfor %}
</div>
</div>
</body>
{% endblock content %}