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

gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git

commit 4436cb16fdda7c3d946ff3a42d34288f157ac6f9
Author: Greg Stein <[email protected]>
AuthorDate: Fri Sep 26 11:13:56 2025 -0500

    Shift content into header/footer.
---
 v3/server/templates/about.ezt    | 17 ++---------------
 v3/server/templates/footer.ezt   |  6 ++++++
 v3/server/templates/header.ezt   | 12 ++++++++++++
 v3/server/templates/privacy.ezt  | 17 ++---------------
 v3/server/templates/profile.ezt  | 17 ++---------------
 v3/server/templates/settings.ezt | 17 ++---------------
 6 files changed, 26 insertions(+), 60 deletions(-)

diff --git a/v3/server/templates/about.ezt b/v3/server/templates/about.ezt
index 6f6c68a..f7b7a84 100644
--- a/v3/server/templates/about.ezt
+++ b/v3/server/templates/about.ezt
@@ -1,21 +1,8 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="UTF-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>Apache STeVe: Profile</title>
-    <link href="/static/css/bootstrap.min.css" rel="stylesheet" 
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9">
-</head>
-<body>
-    [include "header.ezt"]
+[include "header.ezt"]
     <div class="container">
         <h1>Profile</h1>
         <p>
             TBD
         </p>
     </div>
-
-    [include "footer.ezt"]
-    <script src="/static/js/bootstrap.bundle.min.js" 
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm"></script>
-</body>
-</html>
+[include "footer.ezt"]
diff --git a/v3/server/templates/footer.ezt b/v3/server/templates/footer.ezt
index a7d5aa7..2b47ae5 100644
--- a/v3/server/templates/footer.ezt
+++ b/v3/server/templates/footer.ezt
@@ -1,3 +1,5 @@
+[# above this, is the close of <div class="container"> ]
+
 <footer class="bg-light text-center text-lg-start py-3 my-5 border-top 
border-2">
     <div class="container">
         <div class="row">
@@ -12,3 +14,7 @@
         </div>
     </div>
 </footer>
+
+    <script src="/static/js/bootstrap.bundle.min.js" 
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm"></script>
+</body>
+</html>
diff --git a/v3/server/templates/header.ezt b/v3/server/templates/header.ezt
index 80f52ae..147723e 100644
--- a/v3/server/templates/header.ezt
+++ b/v3/server/templates/header.ezt
@@ -1,3 +1,13 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <title>Apache STeVe: Profile</title>
+    <link href="/static/css/bootstrap.min.css" rel="stylesheet" 
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9">
+</head>
+<body>
+
 <nav class="navbar navbar-expand-lg navbar-dark bg-primary">
     <div class="container-fluid">
         <!-- Left-aligned icon and title -->
@@ -27,3 +37,5 @@
         </div>
     </div>
 </nav>
+
+[# the <div class="container"> will be provided by parent ]
diff --git a/v3/server/templates/privacy.ezt b/v3/server/templates/privacy.ezt
index 6f6c68a..f7b7a84 100644
--- a/v3/server/templates/privacy.ezt
+++ b/v3/server/templates/privacy.ezt
@@ -1,21 +1,8 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="UTF-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>Apache STeVe: Profile</title>
-    <link href="/static/css/bootstrap.min.css" rel="stylesheet" 
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9">
-</head>
-<body>
-    [include "header.ezt"]
+[include "header.ezt"]
     <div class="container">
         <h1>Profile</h1>
         <p>
             TBD
         </p>
     </div>
-
-    [include "footer.ezt"]
-    <script src="/static/js/bootstrap.bundle.min.js" 
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm"></script>
-</body>
-</html>
+[include "footer.ezt"]
diff --git a/v3/server/templates/profile.ezt b/v3/server/templates/profile.ezt
index 6f6c68a..f7b7a84 100644
--- a/v3/server/templates/profile.ezt
+++ b/v3/server/templates/profile.ezt
@@ -1,21 +1,8 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="UTF-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>Apache STeVe: Profile</title>
-    <link href="/static/css/bootstrap.min.css" rel="stylesheet" 
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9">
-</head>
-<body>
-    [include "header.ezt"]
+[include "header.ezt"]
     <div class="container">
         <h1>Profile</h1>
         <p>
             TBD
         </p>
     </div>
-
-    [include "footer.ezt"]
-    <script src="/static/js/bootstrap.bundle.min.js" 
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm"></script>
-</body>
-</html>
+[include "footer.ezt"]
diff --git a/v3/server/templates/settings.ezt b/v3/server/templates/settings.ezt
index 6f6c68a..f7b7a84 100644
--- a/v3/server/templates/settings.ezt
+++ b/v3/server/templates/settings.ezt
@@ -1,21 +1,8 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="UTF-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>Apache STeVe: Profile</title>
-    <link href="/static/css/bootstrap.min.css" rel="stylesheet" 
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9">
-</head>
-<body>
-    [include "header.ezt"]
+[include "header.ezt"]
     <div class="container">
         <h1>Profile</h1>
         <p>
             TBD
         </p>
     </div>
-
-    [include "footer.ezt"]
-    <script src="/static/js/bootstrap.bundle.min.js" 
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm"></script>
-</body>
-</html>
+[include "footer.ezt"]

Reply via email to