Skip to content

Commit

Permalink
Put lastest news title in website/latest_news_title.rst
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
cary-ilm committed Oct 10, 2024
1 parent e175c58 commit 7f5d47f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions website/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ compositing, deep compositing, and DI.
OpenEXR is a project of the `Academy Software Foundation
<https://www.aswf.io>`_.

.. include:: latest_news_title.rst

Latest News
===========
Expand All @@ -43,6 +44,8 @@ Latest News
:height: 50
:align: left

|latest-news-title|

.. highlights::

.. include:: news.rst
Expand Down
2 changes: 2 additions & 0 deletions website/latest_news_title.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.. |latest-news-title| replace:: **October 8, 2024 - OpenEXR 3.3.1 Released**

6 changes: 4 additions & 2 deletions website/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 7f5d47f

Please sign in to comment.