cssy
This commit is contained in:
parent
ba27210786
commit
97d3a8a9b6
|
|
@ -1,18 +1,20 @@
|
|||
<header class="title">
|
||||
<div class="container">
|
||||
<h1><%= @page.title %></h1>
|
||||
|
||||
</div>
|
||||
</header>
|
||||
<% if @page.type_of != 2 %>
|
||||
<section>
|
||||
<div class="container">
|
||||
<div class="container" style="border-left: 4px solid rgba(0,0,0,0.2); border-right: 1px solid rgba(0,0,0,0.2);">
|
||||
<h1><%= @page.title %></h1>
|
||||
<%= raw @page.full_text %>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<% elsif @page.type_of == 2 && @page.article && !@page.article.published_page_articles.blank? %>
|
||||
<section>
|
||||
<div class="container">
|
||||
<div class="container" style="border-left: 4px solid rgba(0,0,0,0.2); border-right: 1px solid rgba(0,0,0,0.2);">
|
||||
<h1><%= @page.title %></h1>
|
||||
<% for pas in @page.article.published_page_articles %>
|
||||
<div class="post-preview">
|
||||
<a href="/site/<%= pas.friendly_id %>">
|
||||
|
|
|
|||
Loading…
Reference in New Issue