app/views/base/site_index.html.haml in community_engine-2.3.2 vs app/views/base/site_index.html.haml in community_engine-3.0.0

- old
+ new

@@ -1,35 +1,33 @@ +- @page_title = configatron.community_name + ' ' + :home.l - @meta = { :description => configatron.meta_description, :keywords => configatron.meta_keywords, :robots => configatron.robots_meta_list_content } -unless logged_in? =render :partial => 'base/homepage_banner_message' -#yui-main - .yui-b - -box :class => "hfeed" do - %h3 - =:recent_posts.l - = render :partial => 'posts/post', :collection => @posts - %h6.all= link_to :see_all_recent_posts.l, recent_path -.yui-b - =render :partial => 'shared/explore' +-box :class => "hfeed" do + %h2 + =:recent_posts.l + = render :partial => 'posts/post', :collection => @posts + =link_to fa_icon('plus-circle', :text => :see_all_recent_posts.l), recent_path - -box :class => "alt" do - %h3 - = :whats_hot.l - - %ul.list.page - -@popular_posts.each do |post| - =render :partial => 'posts/sidebar_post', :locals => {:post => post} - %h6.all - %a{:href=>popular_url}= :see_all.l +=render :partial => 'shared/explore' - -box :class => "alt" do - %h3 - =:featured_writer.l - -@featured_writers.each do |user| - =render :partial => "users/sidebar_user", :locals => {:user => user} +-widget do + %h4 + .small= :whats_hot.l + %ul.list-unstyled + -@popular_posts.each do |post| + =render :partial => 'posts/sidebar_post', :locals => {:post => post} + =link_to fa_icon('plus-circle', :text => :see_all.l), popular_url - -box :class => "alt" do - %h3= :active_users.l - -@active_users.each do |user| - =render :partial => "users/sidebar_user", :locals => {:user => user} +-widget do + %h4 + .small=:featured_writer.l + -@featured_writers.each do |user| + =render :partial => "users/sidebar_user", :locals => {:user => user} + +-widget do + %h4 + .small= :active_users.l + -@active_users.each do |user| + =render :partial => "users/sidebar_user", :locals => {:user => user}