forked from robert/robertjohnson.work
fixed template bug and data files
many empty div's were generated
This commit is contained in:
parent
1cee9a16d5
commit
2dd2b4eec6
@ -1,7 +1,6 @@
|
||||
- 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."
|
||||
|
||||
projects:
|
||||
- project:
|
||||
title: Velocity
|
||||
link: "#hook"
|
||||
|
@ -1,7 +1,6 @@
|
||||
- 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."
|
||||
|
||||
publications:
|
||||
- paper:
|
||||
title: The Art of Computer Programming
|
||||
authors: Donald E. Knuth
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user