Commit b5306e09 authored by agusmakmun's avatar agusmakmun
Browse files

register date, tags, and image project

parent 387a4226
......@@ -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>
......
---
layout: project_single
title: "Cool Project"
slug: "cool-project"
---
Just a demo text for now, which signifies there is lot of scope for improvement.
\ No newline at end of file
......@@ -215,4 +215,5 @@ div.col-sm-3 img#about {
padding: 10px 10px 5px;
border-top: 1px solid #f0f0f0;
border-bottom: 1px solid #f0f0f0;
}
\ No newline at end of file
}
.post-content img, .content img {max-width: 100%}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment