--- a/src/main/webapp/WEB-INF/jsp/site.jsp Thu May 13 19:31:09 2021 +0200 +++ b/src/main/webapp/WEB-INF/jsp/site.jsp Sat May 15 16:19:29 2021 +0200 @@ -65,26 +65,31 @@ <meta http-equiv="refresh" content="0; URL=${redirectLocation}"> </c:if> <link rel="stylesheet" href="lightpit.css" type="text/css"> - <link rel="alternate" type="application/rss+xml" title="RSS" href="${feedHref}" /> + <c:if test="${not empty feedHref}"> + <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="${feedHref}"/> + </c:if> <c:if test="${not empty extraCss}"> <c:forEach items="${extraCss}" var="cssFile"> - <link rel="stylesheet" href="${cssFile}" type="text/css"> + <link rel="stylesheet" href="${cssFile}" type="text/css"> </c:forEach> </c:if> </head> <body> <div id="mainMenu"> - <div class="menuEntry" <c:if test="${fn:startsWith(requestPath, '/projects/')}">data-active</c:if> > + <div class="menuEntry" + <c:if test="${fn:startsWith(requestPath, '/projects/')}">data-active</c:if> > <a href="projects/"> <fmt:message key="menu.projects"/> </a> </div> - <div class="menuEntry" <c:if test="${fn:startsWith(requestPath, '/users/')}">data-active</c:if> > + <div class="menuEntry" + <c:if test="${fn:startsWith(requestPath, '/users/')}">data-active</c:if> > <a href="users/"> <fmt:message key="menu.users"/> </a> </div> - <div class="menuEntry" <c:if test="${fn:startsWith(requestPath, '/language/')}">data-active</c:if> > + <div class="menuEntry" + <c:if test="${fn:startsWith(requestPath, '/language/')}">data-active</c:if> > <a href="language/"> <fmt:message key="menu.languages"/> </a> @@ -93,7 +98,7 @@ <div> <c:if test="${not empty navMenu}"> <div id="sideMenu"> - <%@include file="../jspf/navmenu.jspf"%> + <%@include file="../jspf/navmenu.jspf" %> </div> </c:if> <div id="content-area" <c:if test="${not empty navMenu}">class="sidebar-spacing"</c:if>>