summaryrefslogtreecommitdiff
path: root/views/layout.haml
blob: e47f5e2bcb3785fc785a6b99dd343989a0b380ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
!!! 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' }/
		%script{:type => "text/javascript" }
			:plain
				var _gaq = _gaq || [];
				  _gaq.push(['_setAccount', 'UA-20018878-1']);
				  _gaq.push(['_trackPageview']);

				  (function() {
				    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
				    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
				    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
				  })();
	%body
		#wrapper
			#header
				%a{:id => 'logo', :href=> '/'}<
					%span Grita!
				#description
					:markdown 
						Un servicio sencillo: **(1)** Encuentra algo que quieras decir. **(2)** escribelo en el espacio que se encuentra abajo. **(3a)** Compartelo por medio de internet con un sencillo link. **(3b)** Compartelo físicamente con códigos que puedes imprimir para que sean leídos con un celular.
			%hr/
			#body 
				=yield
			#footer