mirror of
https://github.com/aljazceru/cryptoanarchywiki.github.io.git
synced 2025-12-17 05:04:21 +01:00
register date, tags, and image project
This commit is contained in:
@@ -5,10 +5,26 @@ layout: default
|
|||||||
|
|
||||||
<header class="post-header">
|
<header class="post-header">
|
||||||
<h1 class="post-title">{{ page.title }}</h1>
|
<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> »
|
||||||
|
{% for tag in project.tags %}
|
||||||
|
<span class="tags tag-filter">{{ tag }}</span>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
</header>
|
</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 }}
|
{{ content }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
layout: project_single
|
layout: project_single
|
||||||
title: "Cool Project"
|
title: "Cool Project"
|
||||||
|
slug: "cool-project"
|
||||||
---
|
---
|
||||||
Just a demo text for now, which signifies there is lot of scope for improvement.
|
Just a demo text for now, which signifies there is lot of scope for improvement.
|
||||||
@@ -216,3 +216,4 @@ div.col-sm-3 img#about {
|
|||||||
border-top: 1px solid #f0f0f0;
|
border-top: 1px solid #f0f0f0;
|
||||||
border-bottom: 1px solid #f0f0f0;
|
border-bottom: 1px solid #f0f0f0;
|
||||||
}
|
}
|
||||||
|
.post-content img, .content img {max-width: 100%}
|
||||||
Reference in New Issue
Block a user