diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-08-08 02:46:06 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-08-08 02:46:06 +0200 |
| commit | 1a037ac6fab34c5f65ed0f37ed603b88e7b02fd1 (patch) | |
| tree | 48af0eab79ea64c9ca92833d415483773e665305 /app/views/custom/page_templates/public | |
| parent | 5699572861085bfb0b375f44e2f35ee8eee3f8c6 (diff) | |
Move the external homepage onto the draft
Diffstat (limited to 'app/views/custom/page_templates/public')
| -rw-r--r-- | app/views/custom/page_templates/public/chapter_detail.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/custom/page_templates/public/chapter_detail.html.erb b/app/views/custom/page_templates/public/chapter_detail.html.erb index 794be823..105ec21a 100644 --- a/app/views/custom/page_templates/public/chapter_detail.html.erb +++ b/app/views/custom/page_templates/public/chapter_detail.html.erb | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | <div class="article" lang="<%= @page.effective_lang %>"> | 1 | <div class="article" lang="<%= @page.effective_lang %>"> |
| 2 | <h1 class="headline"><%= @page.title %></h1> | 2 | <h1 class="headline"><%= @page.title %></h1> |
| 3 | <%= headline_image %> | 3 | <%= headline_image %> |
| 4 | <% if @page.node.external_url.present? %> | 4 | <% if @page.external_url.present? %> |
| 5 | <div class="chapter_url"><%= link_to @page.node.external_url, @page.node.external_url, target: '_blank', rel: 'noopener' %></div> | 5 | <div class="chapter_url"><%= link_to @page.external_url, @page.external_url, target: '_blank', rel: 'noopener' %></div> |
| 6 | <% end %> | 6 | <% end %> |
| 7 | <p><%= sanitize(@page.abstract) %></p> | 7 | <p><%= sanitize(@page.abstract) %></p> |
| 8 | <%= aggregate?(@page.body) %> | 8 | <%= aggregate?(@page.body) %> |
