Made publications dynamic

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2017-12-25 21:58:27 +01:00
parent 635c8975f9
commit 08945dc360
2 changed files with 25 additions and 14 deletions

View File

@ -9,6 +9,11 @@ cv_link: /cv/
cv_pdf: /assets/pdf/cv.pdf cv_pdf: /assets/pdf/cv.pdf
github_username: 2martens github_username: 2martens
twitter_username: 2martens twitter_username: 2martens
publications:
- link: /assets/pdf/bachelor-thesis.pdf
title: Face Detection and Head Tracking for perspective rendering (Bachelor Thesis)
author: Jim Martens
date: 2016-07-19
skills: skills:
- category: Languages - category: Languages
items: items:

View File

@ -12,21 +12,27 @@ sidebarboxes: author
Furthermore you will find here blog posts that cover topics related to the studies and Computer Science. Furthermore you will find here blog posts that cover topics related to the studies and Computer Science.
</p> </p>
{% if site.data.author.publications %}
<h2>Publications</h2> <h2>Publications</h2>
<div class="media">
<a href="{% link assets/pdf/bachelor-thesis.pdf %}"><span class="mr-3 far fa-file-pdf fa-5x"></span></a>
<div class="media-body">
<h5 class="mt-0">Face Detection and Head Tracking for perspective rendering (Bachelor Thesis)</h5>
<ul class="list-unstyled"> <ul class="list-unstyled">
<li><span class="font-weight-bold">Author:</span> Jim Martens</li> {% for publication in site.data.author.publications %}
<li class="media">
<a href="{{ publication.link }}"><span class="mr-3 far fa-file-pdf fa-5x"></span></a>
<div class="media-body">
<h5 class="mt-0">{{ publication.title }}</h5>
<ul class="list-unstyled">
<li><span class="font-weight-bold">Author:</span> {{ publication.author }}</li>
<li><span class="font-weight-bold">Date:</span> <li><span class="font-weight-bold">Date:</span>
<time datetime="{{ '2016-07-19' | date_to_xmlschema }}" itemprop="datePublished"> <time datetime="{{ publication.date | date_to_xmlschema }}" itemprop="datePublished">
{{ '2016-07-19' | date: "%b %-d, %Y" }} {{ publication.date | date: "%b %-d, %Y" }}
</time> </time>
</li> </li>
</ul> </ul>
</div> </div>
</div> </li>
{% endfor %}
</ul>
{% endif %}
<h2>Blog posts</h2> <h2>Blog posts</h2>