From 21bf9477f1bb0a136e5078a98ec7ae415392fb16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nelson=20Estev=C3=A3o?= Date: Sun, 29 Oct 2017 14:33:29 +0000 Subject: [PATCH] made projects section easier to edit on _data folder --- _data/projects.yml | 24 +++++++++++++++++++++ _includes/projects.html | 46 +++++++++++++++++++++-------------------- 2 files changed, 48 insertions(+), 22 deletions(-) create mode 100644 _data/projects.yml diff --git a/_data/projects.yml b/_data/projects.yml new file mode 100644 index 0000000..2974bb1 --- /dev/null +++ b/_data/projects.yml @@ -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" diff --git a/_includes/projects.html b/_includes/projects.html index 0980704..c0812ac 100644 --- a/_includes/projects.html +++ b/_includes/projects.html @@ -1,23 +1,25 @@ +{% if site.data.projects %}
-

Projects

-
-

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.

-
-
- Velocity - A responsive website template designed to help startups promote, market and sell their products. - -
-
- DevStudio - - A responsive website template designed to help web developers/designers market their services. -
-
- Tempo - A responsive website template designed to help startups promote their products or services and to attract users & investors -
-
- Atom - A comprehensive website template solution for startups/developers to market their mobile apps. -
-
- Delta - A responsive Bootstrap one page theme designed to help app developers promote their mobile apps -
-
\ No newline at end of file + +

Projects

+ + {% for intro in site.data.projects %} +
+

{{ intro.description }}

+
+ {% endfor%} + + {% for project in site.data.projects %} +
+ + {{ project.title }} + + {% if project.tagline %} + - {{ project.tagline }} + {% endif %} + +
+ {% endfor %} + + +{% endif %}