fixed template bug and data files

many empty div's were generated
This commit is contained in:
Stefan Forstenlechner 2018-01-17 15:15:18 +00:00
parent 1cee9a16d5
commit 2dd2b4eec6
4 changed files with 44 additions and 46 deletions

View File

@ -1,24 +1,23 @@
- intro:
description: "You can list your side projects or open source libraries in this section. Lorem ipsum dolor
intro: "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:
projects:
- project:
title: Velocity
link: "#hook"
tagline: "A responsive website template designed to help startups promote, market and sell their products."
- project:
- project:
title: DevStudio
link: "#"
tagline: "A responsive website template designed to help web developers/designers market their services."
- project:
- project:
title: Tempo
link: "#"
tagline: "A responsive website template designed to help startups promote their products or services and to attract users & investors"
- project:
- project:
title: Atom
link: "#"
tagline: "A comprehensive website template solution for startups/developers to market their mobile apps."
- project:
- project:
title: Delta
link: "#"
tagline: "A responsive Bootstrap one page theme designed to help app developers promote their mobile apps"

View File

@ -1,16 +1,15 @@
- intro:
description: "You can list your publications in this section. Lorem ipsum dolor
intro: "You can list your publications in this section. Lorem ipsum dolor
sit amet, consectetur adipiscing elit. Vestibulum et ligula in nunc bibendum fringilla a eu lectus."
- paper:
publications:
- paper:
title: The Art of Computer Programming
authors: Donald E. Knuth
conference: Addison-Wesley, 1968
- paper:
- paper:
title: "Genetic Programming III: Darwinian Invention & Problem Solving"
authors: Koza, J.R., Andre, D., Bennett, F.H., Keane, M.A.
conference: "Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 1st edn. (1999)"
- paper:
- paper:
title: A syntax directed compiler for Algol 60
authors: Edgar T. Irons
conference: "Comm. ACM 4 (1961), 5155"

View File

@ -3,13 +3,13 @@
<h2 class="section-title"><i class="fa fa-archive"></i>Projects</h2>
{% for intro in site.data.projects %}
{% if site.data.projects.intro %}
<div class="intro">
<p>{{ intro.description }}</p>
<p>{{ site.data.projects.intro }}</p>
</div><!--//intro-->
{% endfor%}
{% endif %}
{% for project in site.data.projects %}
{% for project in site.data.projects.projects %}
<div class="item">
<span class="project-title"><a href="{{ project.link }}">{{ project.title }}</a></span>

View File

@ -3,13 +3,13 @@
<h2 class="section-title"><i class="fa fa-file-text"></i>Publications</h2>
{% for intro in site.data.publications %}
{% if site.data.publications.intro %}
<div class="intro">
<p>{{ intro.description }}</p>
<p>{{ site.data.publications.intro }}</p>
</div><!--//intro-->
{% endfor%}
{% endif %}
{% for publication in site.data.publications %}
{% for publication in site.data.publications.publications %}
<div class="item">
<div class="publication-title">{{ publication.title }}</div>
<div class="publication-authors">{{ publication.authors }}</div>