From 97d3a8a9b6c095f1bf8aca5ef5e9bf95c500aa55 Mon Sep 17 00:00:00 2001 From: Adrian Hinz Date: Sat, 3 Feb 2018 21:53:32 +0100 Subject: [PATCH 1/2] cssy --- app/views/site/show.html.erb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/views/site/show.html.erb b/app/views/site/show.html.erb index 92c3210..70559b6 100644 --- a/app/views/site/show.html.erb +++ b/app/views/site/show.html.erb @@ -1,18 +1,20 @@
-

<%= @page.title %>

+
<% if @page.type_of != 2 %>
-
+
+

<%= @page.title %>

<%= raw @page.full_text %>
<% elsif @page.type_of == 2 && @page.article && !@page.article.published_page_articles.blank? %>
-
- <% elsif @page.type_of == 2 && @page.article && !@page.article.published_page_articles.blank? %>