Sha256: eda892e167b2afca6e7f91dfaa9bb9fce97caf204e26c78833ec9a4e4996cb65

Contents?: true

Size: 1.35 KB

Versions: 41

Compression:

Stored size: 1.35 KB

Contents

---
listed: true
handle: our-music
position: 2
---
{% extends parent %}

{% block content %}

{% 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

41 entries across 41 versions & 1 rubygems

Version Path
locomotivecms_steam-1.5.0.rc0 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.5.0.beta3 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.5.0.beta2 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.5.0.beta1 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.4.1 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.4.0 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.4.0.rc2 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.4.0.rc1 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.4.0.pre.rc.1 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.3.0 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.3.0.rc2 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.1.2 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.2.1 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.3.0.rc1 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.2.0 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.2.0.rc3 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.2.0.rc2 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.2.0.rc1 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.2.0.beta1 spec/fixtures/default/app/views/pages/music.liquid.haml
locomotivecms_steam-1.1.1 spec/fixtures/default/app/views/pages/music.liquid.haml