Sha256: 762d5aed34f041f14981a269f505e7bd0218e9f40ba373ea938417498a96836e

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 KB

Contents

doctype html
html
  == Piccle::TemplateHelpers.render_partial "header"

  body.photos_index
    header
      |
        {{#if selector}}
          <h1><a href="{{include_prefix}}index.html">Photography by {{site_metadata.author_name}}</a></h1>
        {{else}}
          <h1>Photography by {{site_metadata.author_name}}</a></h1>
        {{/if}}
      == Piccle::TemplateHelpers.render_partial "breadcrumbs"
    main
      == Piccle::TemplateHelpers.render_partial "navigation"

      .photos
        |
          {{#each photos as |photo|}}
            {{#if (lookup ../event_ends photo.hash)}}
              {{#with (lookup ../event_ends hash)}}
                <p class="event_block event_end"><a href="{{../include_prefix}}{{join selector '/'}}/index.html">{{name}}</a></p>
              {{/with}}
            {{/if}}
            <a href="{{../include_prefix}}{{../selector_path}}{{photo.hash}}.html#photo">
              <img class="thumbnail" src="{{../include_prefix}}images/thumbnails/{{photo.hash}}.{{photo.file_name}}" alt="{{photo.title}}" />
            </a>
            {{#if (lookup ../event_starts photo.hash)}}
              {{#with (lookup ../event_starts hash)}}
                <p class="event_block event_start"><a href="{{../include_prefix}}{{join selector '/'}}/index.html">{{name}}</a></p>
              {{/with}}
            {{/if}}
          {{/each}}

    == Piccle::TemplateHelpers.render_partial "footer"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
piccle-0.1.0.rc1 templates/index.html.handlebars.slim