Sha256: d718cd952746a3310c216f85450b827888a59064ee57eb61daff948009648078

Contents?: true

Size: 504 Bytes

Versions: 6

Compression:

Stored size: 504 Bytes

Contents

%h1= current_page.title

%h5 Line
%p= content :line

%h5 Content
!= content :text

%h5 Image

- if has_content?(:image)
  %p= image_tag content(:image).variant(resize: "200x100")

%h5 Image collection

%ul
  - content(:image_collection)&.images&.each do |image|
    %li= image_tag image.variant(resize: '100x100')

%h5 Structure

%ul
  - content(:structure)&.structure_items&.each do |item|
    %li
      %h6 Title
      %p= item.content(:title)
      %h6 Description
      != item.content(:description)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spina-1.2.0 lib/generators/spina/templates/app/views/demo/pages/demo.html.haml
spina-1.1.4 lib/generators/spina/templates/app/views/demo/pages/demo.html.haml
spina-1.1.3 lib/generators/spina/templates/app/views/demo/pages/demo.html.haml
spina-1.1.2 lib/generators/spina/templates/app/views/demo/pages/demo.html.haml
spina-1.1.1 lib/generators/spina/templates/app/views/demo/pages/demo.html.haml
spina-1.1.0 lib/generators/spina/templates/app/views/demo/pages/demo.html.haml