Agregué el favicon nuevo y cambié un poco el layout para darle más enfasis al texto.
@markdown = RDiscount.new(@grito.text)
- haml :grito
+ haml :grito, :layout => :layoutmini
end
error do
%title= "#{@grito.title} - ¡Grita!"
-else
%title ¡Grita!
- %link{:rel => 'stylesheet', :type => 'text/css', :href => '/style.css', :title => 'default'}
+ %link{:rel => 'stylesheet', :type => 'text/css', :href => '/style.css', :title => 'default'}
+ %link{:rel => "icon", :href => "/images/favicon.ico", :type => "image/x-icon"}
+ %link{:rel => "icon", :href => "/images/favicon.png", :type => "image/png"}
%meta{'http-equiv' => 'Contet-Type', :content => 'text/html; charset=utf-8' }/
%body
#wrapper
--- /dev/null
+!!! 5
+%html
+ %head
+ -unless @grito.nil?
+ -if @grito.errors.empty?
+ %title= "#{@grito.title} - ¡Grita!"
+ -else
+ %title ¡Grita!
+ %link{:rel => 'stylesheet', :type => 'text/css', :href => '/style.css', :title => 'default'}
+ %link{:rel => "icon", :href => "/images/favicon.ico", :type => "image/x-icon"}
+ %link{:rel => "icon", :href => "/images/favicon.png", :type => "image/png"}
+ %meta{'http-equiv' => 'Contet-Type', :content => 'text/html; charset=utf-8' }/
+ %body
+ #wrapper
+ #header
+ %a{:id => 'logomini', :href=> '/'}<
+ %span Grita!
+ %hr/
+ #body
+ =yield
+ #footer
\ No newline at end of file
display: block;
margin: 10px 250px;
}
+#header #logomini {
+ background-image: url(/images/logomini.png);
+ background-repeat: no-repeat;
+ width: 140px;
+ height: 65px;
+ display: block;
+ margin: 10px 380px;
+}
#header #logo span { display: none; }
+#header #logomini span { display: none; }
#header #description p {
font-size: 1.4em;
line-height: 1.8em;
margin: 10px 250px;
}
-#header #logo span{
+#header #logomini{
+ background-image: url(/images/logomini.png);
+ background-repeat: no-repeat;
+ width: 140px;
+ height: 65px;
+ display: block;
+ margin: 10px 380px;
+}
+
+#header #logo span, #header #logomini span{
display: none;
}