summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-08-01 20:48:34 +0200
committererdgeist <erdgeist@erdgeist.org>2026-08-01 20:48:34 +0200
commit35598136e9d65f2218891ecf0974aa6635b0b99a (patch)
tree03bff5dba2686883b11be2a9a028badd95f149af /app/views
parent9b442b69d363d47162a4d499c5184a3c394b75dc (diff)
Add partial for disclosure realm
Diffstat (limited to 'app/views')
-rw-r--r--app/views/custom/partials/_date_and_title.html.erb11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/custom/partials/_date_and_title.html.erb b/app/views/custom/partials/_date_and_title.html.erb
new file mode 100644
index 00000000..e9e69342
--- /dev/null
+++ b/app/views/custom/partials/_date_and_title.html.erb
@@ -0,0 +1,11 @@
1<div class="article_partial date_and_title_partial" lang="<%= page.effective_lang %>">
2 <div class="entry_date">
3 <time datetime="<%= (page.published_at || page.created_at).to_date.iso8601 %>"><%= date_for_page page %></time>
4 </div>
5 <div class="entry_body">
6 <h2 class="headline"><%= link_to_path page.title, page.node.unique_name %></h2>
7 <% if page.abstract.present? %>
8 <p class="excerpt"><%= page.abstract %></p>
9 <% end %>
10 </div>
11</div>