Browse Source

collection for portfolio

master
Dan Ballard 4 years ago
parent
commit
be1080e9c0
  1. 1
      _config.yml
  2. 2
      _includes/splash.html
  3. 79
      _layouts/landing.html
  4. 6
      _portfolio/2018-01-11-Dolore-nisl-feugiat.md
  5. 6
      _portfolio/2018-01-18-Etiam-nisl-consequat.md
  6. 6
      _portfolio/2018-01-25-Blandit-sed-adipiscing.md
  7. 6
      _portfolio/2018-02-03-Consequat-et-tempus.md
  8. 6
      _portfolio/2018-02-10-Sed-etiam-lorem-nulla.md
  9. 6
      _portfolio/2018-02-17-Ipsum-feugiat-et-dolor.md

1
_config.yml

@ -1,2 +1,3 @@
collections:
- splash_blurbs
- portfolio

2
_includes/splash.html

@ -20,7 +20,7 @@
<p>{{ blurb.content }}</p>
</section>
</div>
{% assign position = position + 1 %}
{% assign position = position | plus:1 %}
{% endfor %}
</div>
<footer>

79
_layouts/landing.html

@ -19,82 +19,33 @@ layout: dopetrope
<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="images/pic02.jpg" alt="" /></a>
<a href="#" class="image featured"><img src="{{ portfolio.image }}" alt="" /></a>
<header>
<h3>Ipsum feugiat et dolor</h3>
<h3>{{ portfolio.title }}</h3>
</header>
<p>Lorem ipsum dolor sit amet sit veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat phasellus tempus dolore ipsum lorem dolore.</p>
<footer>
<a href="#" class="button alt">Find out more</a>
</footer>
</section>
</div>
<div class="4u 12u(mobile)">
<section class="box">
<a href="#" class="image featured"><img src="images/pic03.jpg" alt="" /></a>
<header>
<h3>Sed etiam lorem nulla</h3>
</header>
<p>Lorem ipsum dolor sit amet sit veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat phasellus tempus dolore ipsum lorem dolore.</p>
<footer>
<a href="#" class="button alt">Find out more</a>
</footer>
</section>
</div>
<div class="4u 12u(mobile)">
<section class="box">
<a href="#" class="image featured"><img src="images/pic04.jpg" alt="" /></a>
<header>
<h3>Consequat et tempus</h3>
</header>
<p>Lorem ipsum dolor sit amet sit veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat phasellus tempus dolore ipsum lorem dolore.</p>
<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">
<div class="4u 12u(mobile)">
<section class="box">
<a href="#" class="image featured"><img src="images/pic05.jpg" alt="" /></a>
<header>
<h3>Blandit sed adipiscing</h3>
</header>
<p>Lorem ipsum dolor sit amet sit veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat phasellus tempus dolore ipsum lorem dolore.</p>
<footer>
<a href="#" class="button alt">Find out more</a>
</footer>
</section>
</div>
<div class="4u 12u(mobile)">
<section class="box">
<a href="#" class="image featured"><img src="images/pic06.jpg" alt="" /></a>
<header>
<h3>Etiam nisl consequat</h3>
</header>
<p>Lorem ipsum dolor sit amet sit veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat phasellus tempus dolore ipsum lorem dolore.</p>
<footer>
<a href="#" class="button alt">Find out more</a>
</footer>
</section>
</div>
<div class="4u 12u(mobile)">
<section class="box">
<a href="#" class="image featured"><img src="images/pic07.jpg" alt="" /></a>
<header>
<h3>Dolore nisl feugiat</h3>
</header>
<p>Lorem ipsum dolor sit amet sit veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat phasellus tempus dolore ipsum lorem dolore.</p>
<footer>
<a href="#" class="button alt">Find out more</a>
</footer>
</section>
</div>
</div>
{% endif %}
{% endfor %}
</section>
</div>

6
_portfolio/2018-01-11-Dolore-nisl-feugiat.md

@ -0,0 +1,6 @@
---
title: Dolore nisl feugiat
image: images/pic07.jpg
date: 2018-01-11
---
Lorem ipsum dolor sit amet sit veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat phasellus tempus dolore ipsum lorem dolore.

6
_portfolio/2018-01-18-Etiam-nisl-consequat.md

@ -0,0 +1,6 @@
---
title: Etiam nisl consequat
image: images/pic06.jpg
date: 2018-01-18
---
Lorem ipsum dolor sit amet sit veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat phasellus tempus dolore ipsum lorem dolore.

6
_portfolio/2018-01-25-Blandit-sed-adipiscing.md

@ -0,0 +1,6 @@
---
title: Blandit sed adipiscing
image: images/pic05.jpg
date: 2018-01-25
---
Lorem ipsum dolor sit amet sit veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat phasellus tempus dolore ipsum lorem dolore.

6
_portfolio/2018-02-03-Consequat-et-tempus.md

@ -0,0 +1,6 @@
---
title: Consequat et tempus
image: images/pic04.jpg
date: 2018-02-03
---
Lorem ipsum dolor sit amet sit veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat phasellus tempus dolore ipsum lorem dolore.

6
_portfolio/2018-02-10-Sed-etiam-lorem-nulla.md

@ -0,0 +1,6 @@
---
title: Sed etiam lorem nulla
image: images/pic03.jpg
date: 2018-02-10
---
Lorem ipsum dolor sit amet sit veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat phasellus tempus dolore ipsum lorem dolore.

6
_portfolio/2018-02-17-Ipsum-feugiat-et-dolor.md

@ -0,0 +1,6 @@
---
title: Ipsum feugiat et dolor
image: images/pic02.jpg
date: 2018-02-17
---
Lorem ipsum dolor sit amet sit veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat phasellus tempus dolore ipsum lorem dolore.
Loading…
Cancel
Save