mirror of
https://github.com/olehomelchenko/dataviz-portfolio.git
synced 2026-09-24 20:51:46 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
{%- comment -%}
|
||||
Вбудовує графік на будь-якій сторінці, не тільки в роботі з _works/.
|
||||
Приклади:
|
||||
{% include viz.html tableau="https://public.tableau.com/app/profile/…/viz/Книга/Аркуш" %}
|
||||
{% include viz.html spec="specs/my-chart.json" %}
|
||||
{% include viz.html tableau="…" wide=true height=1150 %}
|
||||
{%- endcomment -%}
|
||||
<div class="viz{% if include.wide %} wide{% endif %}"
|
||||
{%- if include.height %} data-height="{{ include.height }}"{% endif %}
|
||||
{%- if include.tableau %} data-tableau="{{ include.tableau }}"
|
||||
{%- elsif include.spec %} data-spec="{{ include.spec }}"{% endif %}></div>
|
||||
Reference in New Issue
Block a user