Commit 18be2c24

mo k <m@mokhan.ca>
2011-12-09 04:13:43
remove verbiage from home page.
1 parent 221d4c5
Changed files (3)
app/controllers/home_controller.rb
@@ -1,5 +1,5 @@
 class HomeController < ApplicationController
   def index
-    @creations = Creation.page(params[:page]).per(8)
+    @creations = Creation.page(params[:page]).per(16)
   end
 end
app/views/home/index.html.erb
@@ -8,4 +8,3 @@
   <p><a class="btn primary large">Learn more &raquo;</a></p>
 </div>
 <%= render "shared/creation_image_gallery" %>
-<%= render "shared/creation_text_gallery" %>
app/views/layouts/application.html.erb
@@ -6,16 +6,13 @@
     <title>Bootstrap, from Twitter</title>
     <meta name="description" content="">
     <meta name="author" content="">
-    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
     <!--[if lt IE 9]>
     <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
     <![endif]-->
-    <!-- Le styles -->
     <%= stylesheet_link_tag :application %>
     <style type="text/css">
       body { padding-top: 60px; }
     </style>
-    <!-- Le fav and touch icons -->
     <link rel="shortcut icon" href="/assets/favicon.ico">
     <link rel="apple-touch-icon" href="/assets/apple-touch-icon.png">
     <link rel="apple-touch-icon" sizes="72x72" href="/assets/apple-touch-icon-72x72.png">
@@ -29,23 +26,23 @@
         <div class="container">
           <a class="brand" href="<%= url_for home_index_path %>">Cake<em>side</em></a>
           <ul class="nav">
-            <li class="active"><a href="<%= url_for home_index_path %>">Home</a></li>
+            <li><a href="<%= url_for home_index_path %>">Home</a></li>
             <li><%= link_to "Share", new_creation_path, :style => "color:#48ce62;" %></li>
             <li class="dropdown">
-            <a href="#" class="dropdown-toggle">Categories</a>
-            <ul class="dropdown-menu">
-              <% Category.all.each do |category| %>
-                <li><a href="/categories/<%= category.slug %>"><%= category.name %></a></li>
-              <% end %>
-            </ul>
+              <a href="#" class="dropdown-toggle">Categories</a>
+              <ul class="dropdown-menu">
+                <% Category.all.each do |category| %>
+                  <li><a href="/categories/<%= category.slug %>"><%= category.name %></a></li>
+                <% end %>
+              </ul>
             </li>
             <li class="dropdown">
-            <a href="#" class="dropdown-toggle">Help</a>
-            <ul class="dropdown-menu">
-              <li><a href="/privacy.html">Privacy Policy</a></li>
-              <li class="divider"></li>
-              <li><a href="/terms.html">Terms and Conditions</a></li>
-            </ul>
+              <a href="#" class="dropdown-toggle">Help</a>
+              <ul class="dropdown-menu">
+                <li><a href="/privacy.html">Privacy Policy</a></li>
+                <li class="divider"></li>
+                <li><a href="/terms.html">Terms and Conditions</a></li>
+              </ul>
             </li>
           </ul>
           <%= form_tag(search_index_path, :method => "get", :name => "search", :class => "pull-left") do %>