This is an automated email from the ASF dual-hosted git repository.

robbie pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-website.git

commit c4a887a26e44905210f202da130119086bd9d06b
Author: Lucas Tétreault <[email protected]>
AuthorDate: Wed Sep 1 12:50:40 2021 -0700

    Remove Artemis per-release page and link to the download page
---
 _config.yml       | 8 --------
 src/news/index.md | 4 ++++
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/_config.yml b/_config.yml
index e968415..52ef89a 100644
--- a/_config.yml
+++ b/_config.yml
@@ -13,7 +13,6 @@ sass:
 
 collections:
   artemis_releases:
-    output: true
     permalink: /components/artemis/download/:name
   5x_releases:
     output: true
@@ -62,13 +61,6 @@ defaults:
       type: activemq5
   - scope:
       path: ""
-      type: "artemis_releases"
-    values:
-      layout: "artemis_release"
-      title-class: page-title-artemis
-      type: artemis
-  - scope:
-      path: ""
       type: "news"
     values:
       layout: "news"
diff --git a/src/news/index.md b/src/news/index.md
index 6421a2a..5fed1eb 100644
--- a/src/news/index.md
+++ b/src/news/index.md
@@ -18,5 +18,9 @@ type: activemq5
 
 {{document.shortDescription}}
 
+{% if document.collection contains "artemis" %}
+[Read More]({{site.baseurl}}/components/artemis/download/)
+{% else %}
 [Read More]({{document.url}})
+{% endif %}
 {% endfor %}

Reply via email to