diff --git a/scripts/test.sh b/scripts/test.sh index ba85a8f..8f5f630 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -18,6 +18,7 @@ test_path "/for/exploratory-analysis" test_path "/plugins" test_path "/plugins/datasette-cluster-map" test_path "/plugins/datasette-geojson" +test_path "/plugins/datasette-dashboard" test_path "/tools" test_path "/tools/shapefile-to-sqlite" test_path "/news" diff --git a/templates/index.html b/templates/index.html index fc04650..73cea25 100644 --- a/templates/index.html +++ b/templates/index.html @@ -100,37 +100,70 @@

{{ prettydate(row["date"]) }} {{ prettydate(row["published_at"]) }}

- {% set ns.current_date = prettydate(row["published_at"]) %} + {% if prettydate(row["released_at"]) != (ns.current_date and prettydate(ns.current_date)) %} +

{{ prettydate(row["released_at"]) }}

+ {% set ns.current_date = prettydate(row["released_at"]) %} {% endif %} -

{{ row["name"] }} {{ row["tag_name"]}} +

{{ row["name"] }} {{ row["version"]}} {% if row["pypi_summary"] != ns.current_pypi_summary and row["pypi_summary"] %} - {{ row["pypi_summary"] }} {% set ns.current_pypi_summary = row["pypi_summary"] %} {% endif %}

- {{ adjust_header_hierarchy(render_markdown(row["body_markdown"], extensions=["fenced_code"]), max_heading_level=5) }} + {% if row["body_markdown"] %} + {{ adjust_header_hierarchy(render_markdown(row["body_markdown"], extensions=["fenced_code"]), max_heading_level=5) }} + {% endif %} {% endfor %}

All releases