mirror of
https://github.com/olehomelchenko/dataviz-portfolio.git
synced 2026-09-24 20:51:46 +00:00
1.5 KiB
1.5 KiB
heading, show_tagline, charts
| heading | show_tagline | charts |
|---|---|---|
| Ім'я Прізвище | true | true |
{%- for work in site.works %}
{{ work.title }} {%- if work.example %} приклад{% endif %}
{{ work.content | markdownify }}
{%- if work.example %}
Це приклад із шаблону. Замініть його своєю роботою або
видаліть файл _works/{{ work.slug }}.md.
{%- if work.steps %}
{%- for step in work.steps %}
<figure class="ba">
<img src="{{ step.img }}" alt="{{ step.label }}" loading="lazy">
<figcaption>{{ step.label }}{% if step.note %} — <span>{{ step.note }}</span>{% endif %}</figcaption>
</figure>
{%- endfor %}
<p class="ba-label">{{ work.final_label | default: "Стало" }}</p>
{%- elsif work.before %}
<figure class="ba">
<img src="{{ work.before }}" alt="Було: {{ work.title }}" loading="lazy">
<figcaption>Було</figcaption>
</figure>
<p class="ba-label">Стало</p>
{%- endif %}
<div class="viz"{% if work.height %} data-height="{{ work.height }}"{% endif %}
{%- if work.tableau %} data-tableau="{{ work.tableau }}"
{%- elsif work.spec %} data-spec="{{ work.spec }}"{% endif %}></div>