card.html 347 字节
Newer Older
C
codecalm 已提交
1 2
{% assign data = site.data.charts[include.chart-id] %}
{% assign height = include.height | default: 10 %}
C
chomik 已提交
3 4
<div class="card">
   <div class="card-body">
C
codecalm 已提交
5 6 7 8
      {% if include.title %}
         <h3 class="card-title">{{ include.title }}</h3>
      {% endif %}
      {% include ui/chart.html height=height chart-id=include.chart-id %}
C
chomik 已提交
9 10
   </div>
</div>