made projects section easier to edit on _data folder

This commit is contained in:
Nelson Estevão 2017-10-29 14:33:29 +00:00
parent 6f30e94ea4
commit 21bf9477f1
2 changed files with 48 additions and 22 deletions

24
_data/projects.yml Normal file
View File

@ -0,0 +1,24 @@
- intro:
description: "You can list your side projects or open source libraries in this section. Lorem ipsum dolor
sit amet, consectetur adipiscing elit. Vestibulum et ligula in nunc bibendum fringilla a eu lectus."
- project:
title: Velocity
link: "#hook"
tagline: "A responsive website template designed to help startups promote, market and sell their products."
- project:
title: DevStudio
link: "#"
tagline: "A responsive website template designed to help web developers/designers market their services."
- project:
title: Tempo
link: "#"
tagline: "A responsive website template designed to help startups promote their products or services and to attract users & investors"
- project:
title: Atom
link: "#"
tagline: "A comprehensive website template solution for startups/developers to market their mobile apps."
- project:
title: Delta
link: "#"
tagline: "A responsive Bootstrap one page theme designed to help app developers promote their mobile apps"

View File

@ -1,23 +1,25 @@
{% if site.data.projects %}
<section class="section projects-section"> <section class="section projects-section">
<h2 class="section-title"><i class="fa fa-archive"></i>Projects</h2> <h2 class="section-title"><i class="fa fa-archive"></i>Projects</h2>
{% for intro in site.data.projects %}
<div class="intro"> <div class="intro">
<p>You can list your side projects or open source libraries in this section. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum et ligula in nunc bibendum fringilla a eu lectus.</p> <p>{{ intro.description }}</p>
</div><!--//intro--> </div><!--//intro-->
{% endfor%}
{% for project in site.data.projects %}
<div class="item"> <div class="item">
<span class="project-title"><a href="#hook">Velocity</a></span> - <span class="project-tagline">A responsive website template designed to help startups promote, market and sell their products.</span>
<span class="project-title"><a href="{{ project.link }}">{{ project.title }}</a></span>
{% if project.tagline %}
- <span class="project-tagline">{{ project.tagline }}</span>
{% endif %}
</div><!--//item--> </div><!--//item-->
<div class="item"> {% endfor %}
<span class="project-title"><a href="#" target="_blank">DevStudio</a></span> -
<span class="project-tagline">A responsive website template designed to help web developers/designers market their services. </span>
</div><!--//item-->
<div class="item">
<span class="project-title"><a href="#" target="_blank">Tempo</a></span> - <span class="project-tagline">A responsive website template designed to help startups promote their products or services and to attract users &amp; investors</span>
</div><!--//item-->
<div class="item">
<span class="project-title"><a href="#" target="_blank">Atom</a></span> - <span class="project-tagline">A comprehensive website template solution for startups/developers to market their mobile apps. </span>
</div><!--//item-->
<div class="item">
<span class="project-title"><a href="#" target="_blank">Delta</a></span> - <span class="project-tagline">A responsive Bootstrap one page theme designed to help app developers promote their mobile apps</span>
</div><!--//item-->
</section><!--//section--> </section><!--//section-->
{% endif %}