summaryrefslogtreecommitdiff
path: root/app/views/custom
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-12-01 23:02:39 +0100
committerhukl <contact@smyck.org>2009-12-01 23:04:06 +0100
commit3af611abb212052351f0979b85027adafce87a69 (patch)
tree7dd3d23a3346d95f1dd80b2724bcf51297a8896b /app/views/custom
parent4d3d971452086f375eed953f66f25cfe6e622281 (diff)
dramatically reduced instanciated AR objects for tags
Diffstat (limited to 'app/views/custom')
-rw-r--r--app/views/custom/partials/_no_date_and_author.html.erb4
1 files changed, 4 insertions, 0 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