src/main/webapp/WEB-INF/jsp/site.jsp

changeset 205
7725a79416f3
parent 204
54c612612c69
child 207
479dd7993ef9
     1.1 --- a/src/main/webapp/WEB-INF/jsp/site.jsp	Sun Aug 01 18:14:36 2021 +0200
     1.2 +++ b/src/main/webapp/WEB-INF/jsp/site.jsp	Sun Aug 01 18:56:28 2021 +0200
     1.3 @@ -42,6 +42,9 @@
     1.4  <%-- Define an alias for the navigation menu --%>
     1.5  <c:set scope="page" var="navMenu" value="${requestScope[Constants.REQ_ATTR_NAVIGATION]}"/>
     1.6  
     1.7 +<%-- Define an alias for the custom page title --%>
     1.8 +<c:set scope="page" var="pageTitle" value="${requestScope[Constants.REQ_ATTR_PAGE_TITLE]}"/>
     1.9 +
    1.10  <%-- Define an alias for the content page name --%>
    1.11  <c:set scope="page" var="contentPage" value="${requestScope[Constants.REQ_ATTR_CONTENT_PAGE]}"/>
    1.12  
    1.13 @@ -59,7 +62,10 @@
    1.14  <html>
    1.15  <head>
    1.16      <base href="${baseHref}">
    1.17 -    <title><fmt:message key="app.title"/></title>
    1.18 +    <title>
    1.19 +        LightPIT
    1.20 +        <c:if test="${not empty pageTitle}"> - <c:out value="${pageTitle}"/></c:if>
    1.21 +    </title>
    1.22      <meta charset="UTF-8">
    1.23      <c:if test="${not empty redirectLocation}">
    1.24          <meta http-equiv="refresh" content="0; URL=${redirectLocation}">

mercurial