diff --git a/_templates/page.html b/_templates/page.html new file mode 100644 index 00000000000..9236eb85d68 --- /dev/null +++ b/_templates/page.html @@ -0,0 +1,40 @@ +{% extends "!page.html" %} +{% block header %} +
+ ROS Resources: + Discussion Forum + | + Service Status + | + Q&A Robotics Stack Exchange + + | +
+ + {% if current_version.name|string() in eol_versions %} + You're reading the documentation for a version of ROS 2 that has reached its EOL (end-of-life), and is no longer officially supported. + If you want up-to-date information, please have a look at {{latest_version.name | title }}. + {% elif current_version.is_released %} + You're reading the documentation for an older, but still supported, version of ROS 2. + For information on the latest version, please have a look at {{latest_version.name | title }}. + {% else %} + You're reading the documentation for a development version. + For the latest released version, please have a look at {{latest_version.name | title }}. + {% endif %} + +
+{% endif %} +{{ super() }} +{% endblock %}% diff --git a/_templates/versions.html b/_templates/versions.html index ba167ae12ec..faafdff558e 100644 --- a/_templates/versions.html +++ b/_templates/versions.html @@ -6,17 +6,11 @@