Sha256: 776827b5b22f46fb533b973cb29ddbbeebd6aee60bfd909b7f5dba7beaacc970
Contents?: true
Size: 1.06 KB
Versions: 2
Compression:
Stored size: 1.06 KB
Contents
{% assign PiePath = include.title | prepend : '/' | replace : ' ','-' | append : '.svg' | downcase %} {% assign PiePathB = include.title | prepend : '/' | replace : ' ','-' | append : '-B.svg' | downcase %} {% assign PieStyle = include.style | prepend : 'style-' %} <li class="item pie {{ PieStyle }}"> <span class="title pie-pcent"><span>{{ include.value }}</span>%</span> <span class="block pie-wrap {{ PieStyle }}"> {% if include.style == "spin" %} <span class="block pie-svg pie-svg-bg"> {% include {{ SvgIcon }} type="pie" %} </span> {% endif %} <span class="block pie-svg pie-svg-data {{ PieStyle }}"> {% include {{ PageArtwork | append : PiePath }} %} </span> {% if include.style == "spin" %} {% if include.value > 50 %} <span class="block pie-svg pie-svg-data {{ PieStyle }}"> {% include {{ PageArtwork | append : PiePathB }} %} </span> {% endif %} {% endif %} </span> <span class="title pie-title {{ PieStyle }}">{{ include.title }}</span> </li>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
futuro-1.0.0 | _includes/html/page/content/loop/pies/create.liquid |
futuro-0.9.9 | _includes/html/page/content/loop/pies/create.liquid |