mirror of
https://github.com/Findus23/lw1.at.git
synced 2024-09-08 02:53:46 +02:00
39 lines
1.5 KiB
HTML
39 lines
1.5 KiB
HTML
<div id="filterwrapper">
|
|
<a href="/{{ lang }}/" {% if current=="all" %}class="active"{% endif %}>
|
|
{% trans %}All Projects{% endtrans %}
|
|
</a>
|
|
{% for tag in tags.values() %}
|
|
{% if not tag.hidden %}
|
|
<a href="/{{ lang }}/t/{{ tag.slug_in_lang(lang) }}" {% if current==tag.id %}class="active"{% endif %}>
|
|
{{ tag.name_in_lang(lang) }}
|
|
</a>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
<div id="searchwrapper">
|
|
<input id="search" title="test" placeholder="{% trans %}Search…{% endtrans %}"/>
|
|
</div>
|
|
<div id="blockwrapper">
|
|
{% for post in posts %}
|
|
<a href="{{ post.absolute_url }}" class="card" data-title="{{ post.title.lower() }}">
|
|
<div class="imgwrapper">
|
|
<canvas data-thumbhash="{{ post.thumbnail_img.thumbhash }}" width="32" height="16"></canvas>
|
|
<img src="{{ post.thumbnail_img.public_url }}" width="1200" height="600" loading="lazy">
|
|
</div>
|
|
<div class="textwrapper">
|
|
<div class="title">{{ post.title }}</div>
|
|
{% if post.date %}
|
|
<div>{{ post.date_year_month }}</div>
|
|
{% endif %}
|
|
<div class="tagwrapper">
|
|
{% for tag in post.tags %}
|
|
<div class="tag">
|
|
{{ tags[tag].name_in_lang(lang) }}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</a>
|
|
{% endfor %}
|
|
|
|
</div>
|