git: d0e0aa1fea - main - ports.cgi: merge the update section into the intro top

From: Wolfram Schneider <wosch_at_FreeBSD.org>
Date: Thu, 17 Sep 2026 13:51:58 UTC
The branch main has been updated by wosch:

URL: https://cgit.FreeBSD.org/doc/commit/?id=d0e0aa1feaa12711ce6d3ff78fcde414a3b6bd2f

commit d0e0aa1feaa12711ce6d3ff78fcde414a3b6bd2f
Author:     Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2026-09-17 13:51:20 +0000
Commit:     Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2026-09-17 13:51:20 +0000

    ports.cgi: merge the update section into the intro top
---
 website/content/en/cgi/ports.cgi | 22 +++++-----------------
 1 file changed, 5 insertions(+), 17 deletions(-)

diff --git a/website/content/en/cgi/ports.cgi b/website/content/en/cgi/ports.cgi
index 429457512f..2947416350 100755
--- a/website/content/en/cgi/ports.cgi
+++ b/website/content/en/cgi/ports.cgi
@@ -727,7 +727,12 @@ users and administrators to install applications.
 description about the port.
 <b>Maintainer</b> searches for the email address of the port maintainer.
 <b>Requires</b> searches for ports which depends on this port.
+</p>
 
+<p>
+@{[ &last_update_message ]} - refreshed automatically every two hours from 
+<a href="https://download.FreeBSD.org/ports/index/$ports_database.xz">$ports_database</a>.
+For other FreeBSD release indexes, see the full <a href="https://download.freebsd.org/ports/index/">index listing</a>.
 </p>
 
 <h2>External Links</h2>
@@ -743,23 +748,6 @@ description about the port.
   <dd>List of available packages for all supported releases and branches</dd>
 </dl>
 
-<h2>Updates</h2>
-
-<p>
-The script ports.cgi use the file
-<a href="https://download.FreeBSD.org/ports/index/$ports_database.xz">$ports_database</a>
-as database for its operations. $ports_database is updated automatically every
-two hours.
-
-For other FreeBSD Releases INDEX files, please look at
-<a href="https://download.freebsd.org/ports/index/">https://download.freebsd.org/ports/index/</a>
-</p>
-
-<p>
-@{[ &last_update_message ]}
-</p>
-
-
 <h2>Further Reading</h2>
 <ul>
 <li>Handbook: <a href="https://docs.freebsd.org/en/books/handbook/ports/#ports-using">Using the Ports Collection</a></li>