Sha256: 400ea6d8cbf43a2bd17eef23ef2b51b5f97d8426232863f2ef3bf5b620456635
Contents?: true
Size: 824 Bytes
Versions: 1
Compression:
Stored size: 824 Bytes
Contents
%h1 = @blog.name #articles - @articles.each do |article| .article %h2 - if Gluttonberg.localized? = link_to article.title, blog_article_path(current_localization_slug , @blog.slug, article.slug) - else = link_to article.title, blog_article_path(:blog_id => @blog.slug, :id => article.slug) by = article.author.full_name - unless article.excerpt.blank? %p = article.excerpt.html_safe .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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gluttonberg-blog-1.0.0 | lib/generators/gluttonberg/blog/templates/blogs_show.html.haml |