%section#most-viewed-posts
  %header
    %h4.section-title= t("blog.most_viewed_posts.title")
    %span.section-legend= t("blog.most_viewed_posts.legend")

  = render "blog/shared/post-list",
    :posts => most_viewed_posts,
    :show_views => true

- limit ||= 10

%section#most-viewed-posts
  %header
    %h4.section-title= t("blog.most_viewed_posts.title")
    %span.section-legend= t("blog.most_viewed_posts.legend")

  = render "blog/shared/post-list",
    :posts => most_viewed_posts(:limit => limit),
    :show_views => true

Make the 'most viewed posts' limit customizable.
Make the 'most viewed posts' limit customizable.
