register date, tags, and image project

This commit is contained in:
agusmakmun
2016-06-11 04:35:11 +07:00
parent 387a4226b1
commit b5306e09e8
3 changed files with 21 additions and 3 deletions

View File

@@ -5,10 +5,26 @@ layout: default
<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
<hr />
{% for project in site.data.projects %}
{% if project.slug == page.slug %}
<span class="time">{{ project.date }}</span> &raquo;
{% for tag in project.tags %}
<span class="tags tag-filter">{{ tag }}</span>
{% endfor %}
{% endif %}
{% endfor %}
</header>
<div class="post-content">
<div class="content">
{% for project in site.data.projects %}
{% if project.slug == page.slug %}
<a href="/static/projects/{{ project.image }}" class="thickbox">
<img src="/static/projects/{{ project.image }}" alt="{{ page.title }}" title="{{ page.title }}">
</a>
{% endif %}
{% endfor %}
<hr />
{{ content }}
</div>