diff options
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) %> |
