Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 27 lines (20 sloc) 0.68 kB
0a70615 @gma Created new default theme, in HTML5.
gma authored
1 %nav.breadcrumb
2 %a(href="/") Home
1770545 @gma Display article content at /articles/permalink.
gma authored
3 >
1f9b09f @gma Combined Article and Category models. Removed path prefix config.
gma authored
4 - if @page.parent
0a70615 @gma Created new default theme, in HTML5.
gma authored
5 %a(href="#{@page.parent.abspath}")= @page.parent.heading
c0d5781 @gma Allow articles to be assigned to parent category, link to it in bread…
gma authored
6 >
1f9b09f @gma Combined Article and Category models. Removed path prefix config.
gma authored
7 = @page.heading
1770545 @gma Display article content at /articles/permalink.
gma authored
8
320c307 @gma Link to categories in the sidebar.
gma authored
9 #content
0a70615 @gma Created new default theme, in HTML5.
gma authored
10 %article(role="main")
11 ~ @page.to_html(self)
eb50f81 @gma Updated the default look and feel.
gma authored
12
0a70615 @gma Created new default theme, in HTML5.
gma authored
13 %section.pages
14 = haml :summaries, :layout => false, :locals => { :pages => @page.pages }
f8e33d0 @gma Moved article's category list down to bottom of article.
gma authored
15
0a70615 @gma Created new default theme, in HTML5.
gma authored
16 - unless @page.articles.empty?
17 %section.articles
18 %header
19 %h1= "Articles on #{@page.heading}"
20 = haml :summaries, :layout => false, :locals => { :pages => @page.articles, :heading => :h3 }
0aed9f0 @gma Display assigned pages (as well as articles) on a category page.
gma authored
21
0a70615 @gma Created new default theme, in HTML5.
gma authored
22 = haml :page_meta, :layout => false, :locals => { :page => @page }
35cab95 @gma Import comments from mephisto into content/comments.
gma authored
23
2083895 @gma Added support for posting comments via Disqus.
gma authored
24 = haml :comments, :layout => false
eb50f81 @gma Updated the default look and feel.
gma authored
25
9f818e2 @gma Provide access to helpers in Haml pages.
gma authored
26 = haml :sidebar, :layout => false
Something went wrong with that request. Please try again.