Sha256: ca998026bbebf42cdbfd3cfffb3cdf45f0658046acd7255c450e8575e278cd31

Contents?: true

Size: 773 Bytes

Versions: 15

Compression:

Stored size: 773 Bytes

Contents

%h1
  = params[:tag]
  
#articles
  - @articles.each do |article|
    .article
      %h2
        - if Gluttonberg.localized?
          = link_to article.title, blog_article_path(current_localization_slug , article.blog.slug, article.slug)
        - else
          = link_to article.title, blog_article_path(:blog_id => @blog.slug, :id => article.slug)
        by
        = article.author.full_name
      %p
        = article.excerpt
  
  .tags_cloud
    - tag_cloud(@tags, %w(css1 css2 css3 css4)) do |tag, css_class|
      
      - if Gluttonberg.localized?
        = link_to tag.name, articles_by_tag_path(current_localization_slug ,tag.name), :class => css_class
      - else
        = link_to tag.name, articles_by_tag_path(:tag => tag.name), :class => css_class
      

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
gluttonberg-core-2.6.4 lib/generators/gluttonberg/blog/templates/articles_tag.html.haml
gluttonberg-core-2.6.3 lib/generators/gluttonberg/blog/templates/articles_tag.html.haml
gluttonberg-core-2.6.2 lib/generators/gluttonberg/blog/templates/articles_tag.html.haml
gluttonberg-core-2.6.1 lib/generators/gluttonberg/blog/templates/articles_tag.html.haml
gluttonberg-core-2.6.0 lib/generators/gluttonberg/blog/templates/articles_tag.html.haml
gluttonberg-core-2.5.9 lib/generators/gluttonberg/blog/templates/articles_tag.html.haml
gluttonberg-core-2.5.8 lib/generators/gluttonberg/blog/templates/articles_tag.html.haml
gluttonberg-core-2.5.7 lib/generators/gluttonberg/blog/templates/articles_tag.html.haml
gluttonberg-core-2.5.6 lib/generators/gluttonberg/blog/templates/articles_tag.html.haml
gluttonberg-core-2.5.5 lib/generators/gluttonberg/blog/templates/articles_tag.html.haml
gluttonberg-core-2.5.4 lib/generators/gluttonberg/blog/templates/articles_tag.html.haml
gluttonberg-core-2.5.3 lib/generators/gluttonberg/blog/templates/articles_tag.html.haml
gluttonberg-core-2.5.2 lib/generators/gluttonberg/blog/templates/articles_tag.html.haml
gluttonberg-core-2.5.1 lib/generators/gluttonberg/blog/templates/articles_tag.html.haml
gluttonberg-core-2.5 lib/generators/gluttonberg/blog/templates/articles_tag.html.haml