Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (49 sloc) 1.92 KB
!!! XML
!!!
%html
%head
%meta{'http-equiv' => 'Content-Type', 'content' => 'text/html; charset=utf-8'}
%meta{'http-equiv' => 'Content-Style-Type', 'content' => 'text/css'}
%meta{'http-equiv' => 'Content-Script-Type', 'content' => 'text/javascript'}
- if entry?
%title== #{@entry.title} - #{@site.title}
- else
%title== #{@site.title} - CMS for Cloud
%link{:rel => 'shortcut icon', :href => "#{@theme.path}/favicon.ico"}
%link{:title => @site.title, :rel => 'alternate', :href => '/index.atom', :type => 'application/atom+xml'}
%link{:rel => 'stylesheet', :href => "#{@theme.path}/style.css", :type => 'text/css'}
%script{:src => "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js", :type => "text/javascript"}
- if !logged_in? and ENV['RACK_ENV'] == 'production'
:javascript
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-107252-10']);
_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{:class => @theme_types.join(' ')}
#header
%h1.wide= link_to @site.title, "/"
.section
.nav
%ul.wide
- Page.all.each do |page|
%li
%a{:href => page.link}= page.title
.bred_crumbs.wide
= bread_crumb
#container
#main= yield
#aside
%dl
%dt= t.recent_entries
%dd
%ul
- Post.recent(5).each do |post|
%li= link_to post.title, post.link
#footer
.copy= link_to @site.title, "/"
.poweredby.wide
powered by <a href="http://lokka.org">Lokka</a>
Jump to Line
Something went wrong with that request. Please try again.