Sha256: 2b69be5bce0c1d8452c8bb8c1dbda31d88fd2e5c806dec8b29a1429939bdbed3

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 Bytes

Contents

%dl.styleguide
  %a(id="#{page[:name]}")
  %dt.page-title
    = page[:name].titleize
  - notes = page[:notes]
  - if notes && notes[:content].present?
    %dd.notes
      .row
        .small-12.column
          .wrapper
            %h3.notes-title # Notes
            = render_contents_string(notes)

  - the_markup = render_contents_string(page[:markup])
  %dd.preview
    = the_markup

  %dd.location-title
    .location= page[:filepath]
    %pre<
      %code(class="#{page[:lang]}")= "#{the_markup}"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
woo-0.2.0 app/views/woo/shared/_single_page.html.haml