Skip to content

Commit

Permalink
add micros to project page
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Feb 7, 2024
1 parent de90d78 commit ee1ff7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/project.html
Expand Up @@ -24,7 +24,8 @@ <h1>{{ page.title | markdown(inline=true) | safe }}</h1>

{% set posts = get_section(path="posts/_index.md") -%}
{% set talks = get_section(path="talks/_index.md") -%}
{% set updates = posts.pages | concat(with=talks.pages) | filter(attribute="extra.project", value=page.title) -%}
{% set micros = get_section(path="micro/_index.md") -%}
{% set updates = posts.pages | concat(with=talks.pages) | concat(with=micros.pages) | filter(attribute="extra.project", value=page.title) -%}
{%- if updates %}
<h2>Updates</h2>
<dl>
Expand Down

0 comments on commit ee1ff7a

Please sign in to comment.