diff options
author | Silas Bartha <[email protected]> | 2024-08-17 19:34:17 -0400 |
---|---|---|
committer | Silas Bartha <[email protected]> | 2024-08-17 19:34:17 -0400 |
commit | 4d1368e382648e91aa6d0e5d05ae3292355ed994 (patch) | |
tree | 9323f1dee42be70c292cec23792f4f4787ff5311 /templates/project-page.html | |
parent | 73332a62e385d380ea124a6a05e65b4bef78b3ae (diff) |
bevy_outline_post_process page
Diffstat (limited to 'templates/project-page.html')
-rw-r--r-- | templates/project-page.html | 15 |
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 %} |