jekyll-dopetrope/_layouts/landing.html

101 lines
3.6 KiB
HTML

---
layout: dopetrope
---
<!-- Header -->
<div id="header-wrapper">
<div id="header">
{% include header.html %}
{% include splash.html %}
</div>
</div>
<!-- Main -->
<div id="main-wrapper">
<div class="container">
<div class="row">
<div class="12u">
<!-- Portfolio -->
<section>
<header class="major">
<h2>My Portfolio</h2>
</header>
{% assign rowCount = 0 %}
<div class="row">
{% for portfolio in site.portfolio %}
<div class="4u 12u(mobile)">
<section class="box">
<a href="#" class="image featured"><img src="{{ portfolio.image }}" alt="" /></a>
<header>
<h3>{{ portfolio.title }}</h3>
</header>
<p>{{ portfolio.content }}</p>
<footer>
<a href="#" class="button alt">Find out more</a>
</footer>
</section>
</div>
{% assign rowCount = rowCount | plus:1 %}
{% if rowCount == 3 or forloop.last %}
</div>
{% endif %}
{% if rowCount == 3 and forloop.last != true %}
{% assign rowCount = 0 %}
<div class="row">
{% endif %}
{% endfor %}
</section>
</div>
</div>
<div class="row">
<div class="12u">
<!-- Blog -->
<section>
<header class="major">
<h2>The Blog</h2>
</header>
<div class="row">
<div class="6u 12u(mobile)">
<section class="box">
<a href="#" class="image featured"><img src="images/pic08.jpg" alt="" /></a>
<header>
<h3>Magna tempus consequat lorem</h3>
<p>Posted 45 minutes ago</p>
</header>
<p>Lorem ipsum dolor sit amet sit veroeros sed et blandit consequat sed veroeros lorem et blandit adipiscing feugiat phasellus tempus hendrerit, tortor vitae mattis tempor, sapien sem feugiat sapien, id suscipit magna felis nec elit. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos lorem ipsum dolor sit amet.</p>
<footer>
<ul class="actions">
<li><a href="#" class="button icon fa-file-text">Continue Reading</a></li>
<li><a href="#" class="button alt icon fa-comment">33 comments</a></li>
</ul>
</footer>
</section>
</div>
<div class="6u 12u(mobile)">
<section class="box">
<a href="#" class="image featured"><img src="images/pic09.jpg" alt="" /></a>
<header>
<h3>Aptent veroeros et aliquam</h3>
<p>Posted 45 minutes ago</p>
</header>
<p>Lorem ipsum dolor sit amet sit veroeros sed et blandit consequat sed veroeros lorem et blandit adipiscing feugiat phasellus tempus hendrerit, tortor vitae mattis tempor, sapien sem feugiat sapien, id suscipit magna felis nec elit. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos lorem ipsum dolor sit amet.</p>
<footer>
<ul class="actions">
<li><a href="#" class="button icon fa-file-text">Continue Reading</a></li>
<li><a href="#" class="button alt icon fa-comment">33 comments</a></li>
</ul>
</footer>
</section>
</div>
</div>
</section>
</div>
</div>
</div>
</div>