From ea3b8c33cf53b7e50cb353eac2c6f73f5cb75979 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 3 Sep 2019 19:35:42 -0700 Subject: include example releases on container landing page Included making release search results an entity macro (in webface templates). --- python/fatcat_web/templates/container_view.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'python/fatcat_web/templates/container_view.html') diff --git a/python/fatcat_web/templates/container_view.html b/python/fatcat_web/templates/container_view.html index c2731db2..ac304e95 100644 --- a/python/fatcat_web/templates/container_view.html +++ b/python/fatcat_web/templates/container_view.html @@ -33,6 +33,12 @@ + +{% if container._random_releases %} +

Example Publications

+{% for random_release in container._random_releases %} + {{ entity_macros.release_search_result_row(random_release) }} +{% endfor %} {% endif %} -- cgit v1.2.3