Sha256: b4bb1c4a1bbb437dc36e904010266006bbf19edb496ab7db30e8549f67f71c7f

Contents?: true

Size: 1.61 KB

Versions: 26

Compression:

Stored size: 1.61 KB

Contents

<div class="container-fluid">
    <%= render partial: 'partials/breadcrumb', locals: {breadcrumb: @post.the_breadcrumb} %>
    <div class="row">
        <% if @post_type.the_slug == "page" %>
            <div class="col-md-12 page-view">
                <article class="post-content">
                    <h1><%= @post.the_title %> <%= @post.the_edit_link %></h1>
                    <div class="item-content">
                        <%= raw @post.the_content %>
                    </div>

                    <!-- custom fields -->
                    <% if @post.render_fields.present? %>
                        <hr>
                        <h4><%= ct("extra_attributes", default: 'Extra Attributes') %></h4>
                        <%= raw @post.render_fields %>
                    <% end %>

                </article>
            </div>
        <% else %>
            <div class="col-md-9 post-view">
                <article class="post-content">
                    <h1><%= raw @post.the_title %> <%= @post.the_edit_link %></h1>
                    <div class="author">
                        <time datetime=""><%= @post.the_created_at %></time>
                    </div>
                    <div class="item-content">
                        <%= raw @post.the_content %>
                    </div>
                </article>
                <%= render partial: 'partials/comments', locals: {post: @post} if @post.can_commented? %>
            </div>
            <div class="col-md-3 single-sidebar">
                <%= render partial: 'partials/sidebar', locals: {post: @post} %>
            </div>
        <% end %>

    </div>
</div>

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
camaleon_cms-2.4.4.2 app/views/camaleon_cms/default_theme/single.html.erb
camaleon_cms-2.4.4.1 app/views/camaleon_cms/default_theme/single.html.erb
camaleon_cms-2.4.4 app/views/camaleon_cms/default_theme/single.html.erb
camaleon_cms-2.4.3.13 app/views/camaleon_cms/default_theme/single.html.erb
camaleon_cms-2.4.3.12 app/views/camaleon_cms/default_theme/single.html.erb
camaleon_cms-2.4.3.11 app/views/camaleon_cms/default_theme/single.html.erb
camaleon_cms-2.4.3.10 app/views/camaleon_cms/default_theme/single.html.erb
camaleon_cms-2.4.3.9 app/views/camaleon_cms/default_theme/single.html.erb
camaleon_cms-2.4.3.8 app/views/camaleon_cms/default_theme/single.html.erb
camaleon_cms-2.4.3.7 app/views/camaleon_cms/default_theme/single.html.erb
camaleon_cms-2.4.3.6 app/views/camaleon_cms/default_theme/single.html.erb
camaleon_cms-2.4.3.5 app/views/camaleon_cms/default_theme/single.html.erb
camaleon_cms-2.4.3.4 app/views/camaleon_cms/default_theme/single.html.erb
camaleon_cms-2.4.3.3 app/views/camaleon_cms/default_theme/single.html.erb
camaleon_cms-2.4.3.2 app/views/camaleon_cms/default_theme/single.html.erb
camaleon_cms-2.4.3.1 app/views/camaleon_cms/default_theme/single.html.erb
camaleon_cms-2.4.3 app/views/camaleon_cms/default_theme/single.html.erb
camaleon_cms-2.4.2 app/views/camaleon_cms/default_theme/single.html.erb
camaleon_cms-2.4.1 app/views/camaleon_cms/default_theme/single.html.erb
camaleon_cms-2.4.0 app/views/camaleon_cms/default_theme/single.html.erb