summaryrefslogtreecommitdiff
path: root/templates/project-page.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/project-page.html')
-rw-r--r--templates/project-page.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/project-page.html b/templates/project-page.html
index 3e8e2e4..c024b10 100644
--- a/templates/project-page.html
+++ b/templates/project-page.html
@@ -4,8 +4,13 @@
<a href="{{ get_url(path='@/projects/_index.md') }}"> <- back to projects</a>
<h1 class="title">
{{ page.title }}
+ {% if page.extra.wip %}
+ (<span class="wip-indicator">wip</span>)
+ {% endif %}
</h1>
+{% if page.description %}
<p><strong>{{ page.description }}</strong></p>
+{% endif %}
{% if page.taxonomies.categories %}
<p>category: {{ page.taxonomies.categories[0] }}</p>
@@ -39,4 +44,14 @@
{% endif %}
<br/>
{{ page.content | safe }}
+{% set project = get_taxonomy_term(kind="projects", term=page.title, required=false) %}
+{% if project and project.page_count > 0 %}
+<br/>
+<p><strong>related blog posts:</strong></p>
+<ul>
+ {% for page in project.pages %}
+ <li><a href="{{ page.permalink }}">{{ page.title }}</a> ({{ page.date }})</li>
+ {% endfor %}
+</ul>
+{% endif %}
{% endblock content %}