From 87220c589be0ae81801ed6babd6d262823e3ebeb Mon Sep 17 00:00:00 2001 From: Nick Date: Thu, 30 Jun 2022 17:56:09 -0400 Subject: [PATCH 1/7] Add a deprecation notice to the top of news feeds. --- _includes/filterable_news_list.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/_includes/filterable_news_list.html b/_includes/filterable_news_list.html index d6d7b8c70..08d7ba001 100644 --- a/_includes/filterable_news_list.html +++ b/_includes/filterable_news_list.html @@ -25,6 +25,27 @@ {% endif %} {% endif %} +{% if key_length == 0 %} + {% comment %} + We're on the main page, not a member site. The key has a length of 0 and renders as "", but it doesn't equal "". + {% endcomment %} + {% assign subsite = "eu" %} +{% else %} + {% assign subsite = key %} +{% endif %} + +
+

Galaxy News is moving!

+
+

+ You can find new updates at + https://galaxyproject.org/{{ subsite }}/news/. +

+

This page will no longer be updated.

+
+
+