This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new cf3be5a9 misc: foundation fixes; add missing HTML (#207)
cf3be5a9 is described below

commit cf3be5a9b1713af8d77e3746472c6e636516509b
Author: John Bampton <[email protected]>
AuthorDate: Thu Feb 22 22:07:29 2024 +1000

    misc: foundation fixes; add missing HTML (#207)
---
 www/foundation/index.html   | 4 +++-
 www/foundation/orgchart.cgi | 8 +++++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/www/foundation/index.html b/www/foundation/index.html
index 837c7d61..92d80dd7 100644
--- a/www/foundation/index.html
+++ b/www/foundation/index.html
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml";>
-  <title>Foundation Index</title>
+  <head>
+    <title>Foundation Index</title>
+  </head>
   <body>
     <p>Nothing to see here ...</p>
     <p>Try the <a href="/foundation/orgchart/">Foundation Organisation 
chart</a> instead</p>
diff --git a/www/foundation/orgchart.cgi b/www/foundation/orgchart.cgi
index 2f8571c7..a681ab05 100755
--- a/www/foundation/orgchart.cgi
+++ b/www/foundation/orgchart.cgi
@@ -31,9 +31,11 @@ def emit_orgchart(org: {})
   ) do
     _table.table.table_striped do
       _thead do
-        _th 'Title / Role'
-        _th 'Contact, Chair, or Person holding that title'
-        _th 'Website'
+        _tr_ do
+          _th 'Title / Role'
+          _th 'Contact, Chair, or Person holding that title'
+          _th 'Website'
+        end
       end
       _tbody do
         org.sort_by {|key, value| value['info']['role']}.each do |key, value|

Reply via email to