diff options
| author | hukl <contact@smyck.org> | 2009-10-19 20:36:09 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-10-19 20:36:09 +0200 |
| commit | 24f92ab288d6a9f77b1a1540c3493fa19a129a52 (patch) | |
| tree | b6d3d2bc8a99c6b47b2fe84bf1bac704b9b7bd69 /app | |
| parent | 41519cf9b82446d348c5840518d688ae6230fdb0 (diff) | |
title only template
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/custom/page_templates/public/title_only.html.erb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/custom/page_templates/public/title_only.html.erb b/app/views/custom/page_templates/public/title_only.html.erb new file mode 100644 index 0000000..a7aa2ea --- /dev/null +++ b/app/views/custom/page_templates/public/title_only.html.erb | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | <div class="article"> | ||
| 2 | <h2><%= @page.title %></h2> | ||
| 3 | <hr class="subtitle" /> | ||
| 4 | <div id="headline_image"><%= headline_image %></div> | ||
| 5 | <%= aggregate?(@page.body) %> | ||
| 6 | </div> | ||
| 7 | |||
| 8 | <%= will_paginate(@content_collection) if @content_collection %> \ No newline at end of file | ||
