From f45339e62321ab99747f7861824ef65baff64dd1 Mon Sep 17 00:00:00 2001 From: epugh Date: Fri, 13 Nov 2020 10:47:36 -0500 Subject: [PATCH] only show releases if we have have them --- _includes/component.html | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/_includes/component.html b/_includes/component.html index baf2bb8..0730919 100644 --- a/_includes/component.html +++ b/_includes/component.html @@ -13,7 +13,7 @@

{{ component.name }} - + {% if repo.updated_at %} last updated {{ repo.updated_at | date: "%B %-d, %Y" }} @@ -66,12 +66,11 @@

    - {% if releases.solr_package %} + {{ releases }} + {% if releases.solr_package %}
  • Package Manager Installation
  • {% elsif releases.releases[0] %} -
  • Manual installation (JAR)
  • - {% else %} -
  • Compile your own
  • +
  • Manual installation
  • {% endif %}
@@ -83,7 +82,7 @@

{% for r in releases.releases limit: 3 %}
  • - {{ r.name }} + {{ r.name }} {{ r.published_at | date: "%B %-d, %Y" }}
  • {% endfor %} @@ -91,4 +90,3 @@

    {% endif %}

    -