diff options
Diffstat (limited to 'app/views/custom/page_templates')
| -rw-r--r-- | app/views/custom/page_templates/public/no_date_and_author.html.erb | 6 | ||||
| -rw-r--r-- | app/views/custom/page_templates/public/render_page.html.erb | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/app/views/custom/page_templates/public/no_date_and_author.html.erb b/app/views/custom/page_templates/public/no_date_and_author.html.erb new file mode 100644 index 00000000..4eda7444 --- /dev/null +++ b/app/views/custom/page_templates/public/no_date_and_author.html.erb | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | <div class="article"> | ||
| 2 | <h2><%= @page.title %></h2> | ||
| 3 | <hr class="subtitle" /> | ||
| 4 | <p><em><%= @page.abstract %></em></p> | ||
| 5 | <%= aggregate?(@page.body) %> | ||
| 6 | </div> \ No newline at end of file | ||
diff --git a/app/views/custom/page_templates/public/render_page.html.erb b/app/views/custom/page_templates/public/render_page.html.erb new file mode 100644 index 00000000..4c21667d --- /dev/null +++ b/app/views/custom/page_templates/public/render_page.html.erb | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | <div class="article"> | ||
| 2 | <h2><%= @page.title %></h2> | ||
| 3 | <h3><%= date_for_page @page %>, <%= @page.user.try(:login) %></h3> | ||
| 4 | <hr class="subtitle" /> | ||
| 5 | <p><em><%= @page.abstract %></em></p> | ||
| 6 | <%= aggregate?(@page.body) %> | ||
| 7 | </div> \ No newline at end of file | ||
