summaryrefslogtreecommitdiff
path: root/app/views/custom
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/custom')
-rw-r--r--app/views/custom/page_templates/public/no_date_and_author.html.erb6
-rw-r--r--app/views/custom/page_templates/public/render_page.html.erb7
-rw-r--r--app/views/custom/partials/_sidebar_title_only.html.erb3
3 files changed, 16 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 0000000..4eda744
--- /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 0000000..4c21667
--- /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
diff --git a/app/views/custom/partials/_sidebar_title_only.html.erb b/app/views/custom/partials/_sidebar_title_only.html.erb
new file mode 100644
index 0000000..819d9ae
--- /dev/null
+++ b/app/views/custom/partials/_sidebar_title_only.html.erb
@@ -0,0 +1,3 @@
1<h2 class="sidebar_headline">
2 <%= page.title %>
3</h2> \ No newline at end of file