summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/custom/partials/_no_date_and_author.html.erb4
-rw-r--r--app/views/tags/show.html.erb2
2 files changed, 5 insertions, 1 deletions
diff --git a/app/views/custom/partials/_no_date_and_author.html.erb b/app/views/custom/partials/_no_date_and_author.html.erb
new file mode 100644
index 00000000..61d6aacf
--- /dev/null
+++ b/app/views/custom/partials/_no_date_and_author.html.erb
@@ -0,0 +1,4 @@
1<div class="article_partial">
2 <h2 class="headline"><%= link_to page.title, content_path(page.node.unique_path) %></h2>
3 <p class="excerpt"><%= page.abstract %></p>
4</div> \ No newline at end of file
diff --git a/app/views/tags/show.html.erb b/app/views/tags/show.html.erb
index 7016efc2..b09cc15f 100644
--- a/app/views/tags/show.html.erb
+++ b/app/views/tags/show.html.erb
@@ -2,7 +2,7 @@
2 2
3<%= 3<%=
4 render( 4 render(
5 :partial => 'custom/partials/article', 5 :partial => 'custom/partials/no_date_and_author',
6 :collection => @pages, 6 :collection => @pages,
7 :as => :page 7 :as => :page
8 ) 8 )