wip media query rework, sidebar mostly finished, rewritten njk
This commit is contained in:
parent
cb5ba4fb82
commit
790147ea05
33 changed files with 268 additions and 361 deletions
|
|
@ -4,46 +4,46 @@ layout: base
|
|||
|
||||
<article id="art">
|
||||
<h1>{{ page.fileSlug }}
|
||||
{% for flag in flags %}
|
||||
{%for flag in flags%}
|
||||
<img src="{{ flag.src }}">
|
||||
{% endfor %}
|
||||
{%endfor%}
|
||||
</h1>
|
||||
{{ content|safe }}
|
||||
{% if programs and programs|length > 0 %}
|
||||
{%if programs and programs|length > 0%}
|
||||
<p>Made with:</p>
|
||||
<ul>
|
||||
{% for program in programs %}
|
||||
{%for program in programs%}
|
||||
<li>
|
||||
{{ program.name | link(program.src) | safe }}
|
||||
{{ program.name|link(program.src)|safe }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
{%endfor%}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% if palettes and palettes|length > 0 %}
|
||||
{%endif%}
|
||||
{%if palettes and palettes|length > 0%}
|
||||
<p>Color palette used:</p>
|
||||
{% for palette in palettes %}
|
||||
{%for palette in palettes%}
|
||||
<ul>
|
||||
<li>
|
||||
{% if palette.src %}
|
||||
{{ palette.name | link(palette.src) | safe }}
|
||||
{% endif %}
|
||||
{%if palette.src%}
|
||||
{{ palette.name|link(palette.src)|safe }}
|
||||
{%endif%}
|
||||
</li>
|
||||
</ul>
|
||||
{% endfor %}
|
||||
{%endfor%}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{%endif%}
|
||||
<section>
|
||||
{% for image in images %}
|
||||
{%for image in images%}
|
||||
<a href="{{ image.src }}">
|
||||
<figure>
|
||||
<img src="{{ image.src }}" alt="" {% if image.pixel %} style="image-rendering: pixelated" {% endif %}>
|
||||
<img src="{{ image.src }}" alt="" {%if image.pixel%} style="image-rendering: pixelated" {%endif%}>
|
||||
<figcaption>{{ image.alt }}</figcaption>
|
||||
<time datetime="{{ image.date|ISO }}">{{ image.date|readable }}</time>
|
||||
</figure>
|
||||
</a>
|
||||
{% endfor %}
|
||||
{%endfor%}
|
||||
</section>
|
||||
{% for attachment in attachments %}
|
||||
{%for attachment in attachments%}
|
||||
<section class="attachment">
|
||||
<a href="{{ attachment.src }}">
|
||||
<figure>
|
||||
|
|
@ -52,5 +52,5 @@ layout: base
|
|||
</figure>
|
||||
</a>
|
||||
</section>
|
||||
{% endfor %}
|
||||
{%endfor%}
|
||||
</article>
|
||||
Loading…
Add table
Add a link
Reference in a new issue