diff --git a/_includes/_template--report-to-congress.html b/_includes/_template--report-to-congress.html index f8928c67..f12e874b 100644 --- a/_includes/_template--report-to-congress.html +++ b/_includes/_template--report-to-congress.html @@ -44,34 +44,52 @@
This project was previously chronicled in our {{ previous_entry.report }} Report to Congress.
- {% endif %} + {% assign previous_entry = site.reports_to_congress | where: "url", page.previous_entry | first %} + {% if previous_entry %} +This project was previously chronicled in our {{ previous_entry.report }} Report to Congress.
+ {% endif %} {% endif %}