From 7f5d47f7c5940336418101eda179454fdfce6396 Mon Sep 17 00:00:00 2001 From: Cary Phillips Date: Thu, 10 Oct 2024 10:34:02 -0700 Subject: [PATCH] Put lastest news title in website/latest_news_title.rst So the "Latest News" section on the main page can get the title as well as the body of the news item, which is pulled from website/news.rst. Signed-off-by: Cary Phillips --- website/index.rst | 3 +++ website/latest_news_title.rst | 2 ++ website/news.rst | 6 ++++-- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 website/latest_news_title.rst diff --git a/website/index.rst b/website/index.rst index 7172658b9e..e5a76b01cd 100644 --- a/website/index.rst +++ b/website/index.rst @@ -34,6 +34,7 @@ compositing, deep compositing, and DI. OpenEXR is a project of the `Academy Software Foundation `_. +.. include:: latest_news_title.rst Latest News =========== @@ -43,6 +44,8 @@ Latest News :height: 50 :align: left +|latest-news-title| + .. highlights:: .. include:: news.rst diff --git a/website/latest_news_title.rst b/website/latest_news_title.rst new file mode 100644 index 0000000000..abf9753bab --- /dev/null +++ b/website/latest_news_title.rst @@ -0,0 +1,2 @@ +.. |latest-news-title| replace:: **October 8, 2024 - OpenEXR 3.3.1 Released** + diff --git a/website/news.rst b/website/news.rst index f28e4b49dd..d655063165 100644 --- a/website/news.rst +++ b/website/news.rst @@ -13,8 +13,10 @@ News .. toctree:: :caption: News -October 8, 2024 - OpenEXR 3.3.1 Released -========================================= +.. include:: latest_news_title.rst + +|latest-news-title| +======================================== .. _LatestNewsStart: