Sha256: ff5dfe1fb9934344c50806e84ab374c8a682ae5ea7e3cb73baf8f5bd201259c7
Contents?: true
Size: 925 Bytes
Versions: 4
Compression:
Stored size: 925 Bytes
Contents
<% content_for :meta_title, Setting.first.try(:company_name) %> <% content_for :meta_description, "Blog posts with the '#{@tag_name}' tag." %> <% content_for :canonical_link, link_to('', blog_path, rel: 'canonical') %> <div class="panel panel-info"> <div class="panel-heading"> <h3 class="panel-title"><%= "#{@tag_name} (#{@tag.present? ? @tag.taggings.count : '0'})" %></h3> </div> <div class="panel-body"> <%= @posts.nil? ? t('tags.no_posts_to_show') : t('tags.list_of_posts') %> </div> </div> <% unless @posts.nil? %> <%= will_paginate @posts, inner_window: 2 %> <% for post in @posts %> <%= render '/pages/individual_blog_post_in_list', post: post %> <% end %> <%= will_paginate @posts, inner_window: 2 %> <% end %> <%= render 'all_tags_list' %> <%= render( 'admin_context_menu', page: @page) %> <%# partial in tkh_menus gem or has to be added in host app %> <%= render './shared/menus' %>
Version data entries
4 entries across 4 versions & 1 rubygems