Sha256: 006ba08549114cf2a41000b443c112f6bf4277f7cd219a77fb3c35f338eac91b

Contents?: true

Size: 1.4 KB

Versions: 60

Compression:

Stored size: 1.4 KB

Contents

<!-- +++++ Welcome Section +++++ -->
<div id="ww">
    <div class="container" >
        <div class="row">
            <div class="col-lg-8 col-lg-offset-2">
                <% home_page = (current_site.the_post(current_theme.get_field("home_page")) || current_site.the_posts("page").first).decorate %>
                <h1><%= home_page.the_title %></h1>
                <div><%= raw home_page.the_content %></div>
            </div><!-- /col-lg-8 -->
        </div><!-- /row -->
    </div> <!-- /container -->
</div><!-- /ww -->

<!-- +++++ Projects Section +++++ -->
<div class="container pt">
    <h3><%= ct("latest_articles", default: 'Latest Articles') %></h3>
    <div class="row mt centered latest_articles">
        <% current_site.the_posts(current_theme.get_field("recent_post_type")).latest.limit(current_theme.get_field("home_qty")).decorate.each do |post| %>
            <!-- PORTFOLIO ITEM -->
            <div class="col-lg-4">
                <a class="zoom green" href="<%= post.the_url %>" title="<%= post.the_title %>" >
                    <img width="400" height="300" src="<%= post.the_thumb_url("http://gentsthemes.com/demo/stanleywp/wp-content/uploads/sites/5/2014/01/port03.jpg") %>" class="attachment-post-thumbnail wp-post-image" alt="post image" />    </a>

                <p><%= post.the_title %></p>
            </div> <!-- /col -->
        <% end %>
    </div><!-- /row -->
</div><!-- /container -->

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
camaleon_cms-2.4.3.2 app/apps/themes/camaleon_first/views/index.html.erb
camaleon_cms-2.4.3.1 app/apps/themes/camaleon_first/views/index.html.erb
camaleon_cms-2.4.3 app/apps/themes/camaleon_first/views/index.html.erb
camaleon_cms-2.4.2 app/apps/themes/camaleon_first/views/index.html.erb
camaleon_cms-2.4.1 app/apps/themes/camaleon_first/views/index.html.erb
camaleon_cms-2.4.0 app/apps/themes/camaleon_first/views/index.html.erb
camaleon_cms-2.3.7.2 app/apps/themes/camaleon_first/views/index.html.erb
camaleon_cms-2.3.7.1 app/apps/themes/camaleon_first/views/index.html.erb
camaleon_cms-2.3.7 app/apps/themes/camaleon_first/views/index.html.erb
camaleon_cms-2.3.6 app/apps/themes/camaleon_first/views/index.html.erb
camaleon_cms-2.3.5 app/apps/themes/camaleon_first/views/index.html.erb
camaleon_cms-2.3.4 app/apps/themes/camaleon_first/views/index.html.erb
camaleon_cms-2.1.2.1 app/apps/themes/camaleon_first/views/index.html.erb
camaleon_cms-2.3.3 app/apps/themes/camaleon_first/views/index.html.erb
camaleon_cms-2.3.2 app/apps/themes/camaleon_first/views/index.html.erb
camaleon_cms-2.3.1 app/apps/themes/camaleon_first/views/index.html.erb
camaleon_cms-2.3.0 app/apps/themes/camaleon_first/views/index.html.erb
camaleon_cms-2.2.1 app/apps/themes/camaleon_first/views/index.html.erb
camaleon_cms-2.2.0 app/apps/themes/camaleon_first/views/index.html.erb
camaleon_cms-2.1.2.0 app/apps/themes/camaleon_first/views/index.html.erb