Sha256: ac24bda08b05939dbf89537bfae04956ada846cef40f76ce7425e3ddc8ee85b7
Contents?: true
Size: 697 Bytes
Versions: 1
Compression:
Stored size: 697 Bytes
Contents
{% if include.image %} {% assign image = image | absolute_url %} {% else %} {% assign item = site[include.collection] | where: 'pid', include.pid | first %} {% assign image = item.full | absolute_url %} {% endif %} {% capture style %} background-image: url('{{ image | absolute_url }}'); background-position: 0% {{ include.y | default: '15%' }}; {% endcapture %} <div class='wax-parallax full-width'> <div class='parallax-image' style="{{ style | strip }}"></div> {% if item.label %} <div class='parallax-caption'> <div class='wax-inline-container'> ⓘ Above: <a href='{{ item.url | absolute_url }}'>{{ item.label }}</a> </div> </div> {% endif %} </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wax_theme-0.1.0.beta | _includes/wax/parallax.html |