Sha256: 9671e246670000241b210950d9ff7dd713aa69b6a30a014c599c59faf7e250be

Contents?: true

Size: 1.44 KB

Versions: 13

Compression:

Stored size: 1.44 KB

Contents

---
listed: true
handle: our-music
position: 2
sections_content:
  carousel:
    settings:
      brand: "My brand"
---
{% extends parent %}

{% block content %}

{% section 'carousel' %}

{% editable_long_text 'introduction' %}

%p
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur vitae tincidunt urna. Nunc felis purus, ultricies et venenatis bibendum, fringilla eu lectus. Sed cursus, sem at blandit mattis, libero quam egestas tortor, eget cursus dolor tellus id nunc. Quisque mauris diam, tincidunt in commodo sed, feugiat eu nibh. Nulla erat nunc, dapibus vel eleifend et, egestas sed quam. Vestibulum mollis eros at dolor vulputate vel sollicitudin enim convallis. Etiam velit nisi, rutrum vel sagittis facilisis, pretium id lorem.

{% endeditable_long_text %}

.unit.size1of2
  %ul.songs
    {% for song in contents.songs limit: 4 offset: 0 %}
    {% include 'song' with song %}
    {% endfor %}

.unit.size1of2
  %ul.songs
    {% for song in contents.songs offset: 4 %}
    {% include 'song' with song %}
    {% endfor %}

#is_listed{ listed: "{{ page.listed? }}" }

#test_for_scope
  {% with_scope _slug: "song-number-3" %}
  {% assign selected_songs = contents.songs.all %}
  {% endwith_scope %}
  {% for s in selected_songs %}
  %p.scoped_song {{ s._label }}
  %p.scoped_song_link
    %a{ href: "{% path_to s %}" } {{ s._label }}
  {% endfor %}
  %p.collection_equality {{ contents.songs.all.size }}={{ contents.songs.size }}

{% endblock %}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
locomotivecms_steam-1.8.0.alpha2 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.8.0.alpha1 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.7.1 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.7.0 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.6.1 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.6.0 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.6.0.rc1 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.6.0.beta1 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.5.3 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.5.2 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.5.1 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.5.0 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.5.0.rc1 spec/fixtures/default/app/views/pages/music.liquid.haml