Sha256: 06213237b5cb3394d73d18bac006596ce3f8ce141bec9f9f04314807eb3f842b

Contents?: true

Size: 486 Bytes

Versions: 1

Compression:

Stored size: 486 Bytes

Contents

html
  head
    meta charset="utf-8"
    title= current_article.title
  body data-similar-article-count=similar_articles.count
    .container
      h1= current_article.title
      p.tags= current_article.tags.join ', '
      = yield

      h2 Similar Entries
      ul
        - similar_articles.each_with_index do|article, index|
          li class="a#{index}"
            = link_to article.url do
              span.title= article.title
              span.tags= article.tags.join ', '

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
middleman-blog-similar-2.0.1 fixtures/test-app/source/layouts/article.slim