Sha256: 2c719e2ee15dac82a5ea42b8ba4eb8c2e65e9539d42485ff4eb8d64b841ad846

Contents?: true

Size: 1.99 KB

Versions: 1

Compression:

Stored size: 1.99 KB

Contents

<!-- Title System -->
<% phc_title "PHCNetworks Blog" %>
<% phc_title_tagline "News & Information" %>
<!-- Title System -->

<!-- Page Header -->
<section class="page-header dark page-header-xs">
	<div class="container">
		<h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
	</div>
</section>
<!-- Page Header -->

<!-- Page Content -->
<section>
	<div class="container">
		<div class="row">

			<!-- Left Sidebar -->
			<div class="col-md-3 col-sm-3">
			</div>
			<!-- Left Sidebar -->

			<!-- Blog List -->
			<div class="col-md-9 col-sm-9">

				<% @article_index.each do |article_index| %>
					<div class="blog-post-item">
						<% if article_index.pstimage? %>
							<figure class="margin-bottom-20">
								<%= link_to phcpresspro.frontend_article do %>
									<%= image_tag article_index.pstimage_url, class: "img-responsive" %>
								<% end %>
							</figure>
						<% end %>
						<h2><%= link_to article_index.psttitle, phcpresspro.frontend_article %></h2>
						<ul class="blog-post-info list-inline">
							<li>
								<%= link_to "#" do %>
									<i class="fa fa-clock-o"></i> 
									<span class="font-lato"><%= article_index.created_at %></span>
								<% end %>
							</li>
							<li>
								<%= link_to "#" do %>
									<i class="fa fa-comment-o"></i> 
									<span class="font-lato">0 Comments</span>
								<% end %>
							</li>
							<li>
								<i class="fa fa-folder-open-o"></i>
								<%= link_to "#" do %>
									<span class="font-lato">Design</span>
								<% end %>
								<%= link_to "#" do %>
									<span class="font-lato">Photography</span>
								<% end %>
							</li>
							<li>
								<%= link_to "#" do %>
									<i class="fa fa-user"></i> 
									<span class="font-lato"><%= article_index.user_name %></span>
								<% end %>
							</li>
						</ul>
						<div><%= truncate(article_index.psttext, :length => 80) %></div>
					</div>
				<% end %>

			</div>
			<!-- Blog List -->

		</div>
	</div>
<section>
<!-- Page Content -->

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phcpresspro-5.7.3 app/views/phcpresspro/frontend/articles/index.html.erb