style intro page
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
@import "../common/000_vars.css.scss";
|
||||
|
||||
div#c-explore-posts {
|
||||
header {
|
||||
text-align: center;
|
||||
@@ -18,7 +20,7 @@ div#c-explore-posts {
|
||||
}
|
||||
|
||||
div#a-intro {
|
||||
width: 60em;
|
||||
width: 870px;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ module PostSets
|
||||
|
||||
def posts
|
||||
@posts ||= begin
|
||||
temp = ::Post.tag_match("#{tag_string} favcount:>10").paginate(page, :search_count => nil, :limit => 6)
|
||||
temp = ::Post.tag_match("#{tag_string} favcount:>3").paginate(page, :search_count => nil, :limit => 5)
|
||||
temp.all
|
||||
temp
|
||||
end
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
<% @presenter.each do |tag, post_set| %>
|
||||
<div class="posts">
|
||||
<h2><%= link_to tag, posts_path(:tags => tag), :class => "tag-type-3" %></h2>
|
||||
<h2><%= link_to tag, posts_path(:tags => tag) %></h2>
|
||||
<%= post_set.presenter.post_previews_html(self) %>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user