Sha256: 766321b9d0ade8f6822e0f5d30e3a4384d7aa178f133a7612884ca786c69d513
Contents?: true
Size: 1.01 KB
Versions: 3
Compression:
Stored size: 1.01 KB
Contents
{%- assign info = include.data %} <article class='rounded'> {%- assign len = info.boxes | size %} {%- if len > 1 %} {%- assign splitContent = 'split-content' %} {%- assign smaller = 'smaller' %} {%- else %} {%- assign splitContent = '' %} {%- assign smaller = '' %} {%- endif %} <div class='max-width {{ splitContent }}'> {%- for box in info.boxes %} <div class='box' style=' color: {{ box.color | default: 'black' }}; background-image: {{ box.background-image | default: 'transparent' }}; '> {%- if box.image %} <div class='image-overlay'> <img src='{{ box.image.src }}' title='{{ box.image.text }}' width='{{ box.image.width }}' /> </div> {%- endif %} <h1 class='{{ smaller }}'>{{ box.title }}</h1> <p>{{ box.text }}</p> {%- if box.button %} <a class='a-button link' href='{{ box.button.href }}'> {{ box.button.label }} </a> {%- endif %} </div> {%- endfor %} </div> </article>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
askclass-home-theme-0.1.0 | _includes/boxes/rounded.html |
askclass-home-theme-0.0.4 | _includes/boxes/rounded.html |
askclass-home-theme-0.0.3 | _includes/boxes/rounded.html |