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

changeset 199
59393c8cc557
parent 198
94f174d591ab
child 204
54c612612c69
     1.1 --- a/src/main/webapp/WEB-INF/jsp/site.jsp	Thu May 13 19:31:09 2021 +0200
     1.2 +++ b/src/main/webapp/WEB-INF/jsp/site.jsp	Sat May 15 16:19:29 2021 +0200
     1.3 @@ -65,26 +65,31 @@
     1.4          <meta http-equiv="refresh" content="0; URL=${redirectLocation}">
     1.5      </c:if>
     1.6      <link rel="stylesheet" href="lightpit.css" type="text/css">
     1.7 -    <link rel="alternate" type="application/rss+xml" title="RSS" href="${feedHref}" />
     1.8 +    <c:if test="${not empty feedHref}">
     1.9 +        <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="${feedHref}"/>
    1.10 +    </c:if>
    1.11      <c:if test="${not empty extraCss}">
    1.12          <c:forEach items="${extraCss}" var="cssFile">
    1.13 -        <link rel="stylesheet" href="${cssFile}" type="text/css">
    1.14 +            <link rel="stylesheet" href="${cssFile}" type="text/css">
    1.15          </c:forEach>
    1.16      </c:if>
    1.17  </head>
    1.18  <body>
    1.19  <div id="mainMenu">
    1.20 -    <div class="menuEntry" <c:if test="${fn:startsWith(requestPath, '/projects/')}">data-active</c:if> >
    1.21 +    <div class="menuEntry"
    1.22 +         <c:if test="${fn:startsWith(requestPath, '/projects/')}">data-active</c:if> >
    1.23          <a href="projects/">
    1.24              <fmt:message key="menu.projects"/>
    1.25          </a>
    1.26      </div>
    1.27 -    <div class="menuEntry" <c:if test="${fn:startsWith(requestPath, '/users/')}">data-active</c:if> >
    1.28 +    <div class="menuEntry"
    1.29 +         <c:if test="${fn:startsWith(requestPath, '/users/')}">data-active</c:if> >
    1.30          <a href="users/">
    1.31              <fmt:message key="menu.users"/>
    1.32          </a>
    1.33      </div>
    1.34 -    <div class="menuEntry" <c:if test="${fn:startsWith(requestPath, '/language/')}">data-active</c:if> >
    1.35 +    <div class="menuEntry"
    1.36 +         <c:if test="${fn:startsWith(requestPath, '/language/')}">data-active</c:if> >
    1.37          <a href="language/">
    1.38              <fmt:message key="menu.languages"/>
    1.39          </a>
    1.40 @@ -93,7 +98,7 @@
    1.41  <div>
    1.42      <c:if test="${not empty navMenu}">
    1.43          <div id="sideMenu">
    1.44 -            <%@include file="../jspf/navmenu.jspf"%>
    1.45 +            <%@include file="../jspf/navmenu.jspf" %>
    1.46          </div>
    1.47      </c:if>
    1.48      <div id="content-area" <c:if test="${not empty navMenu}">class="sidebar-spacing"</c:if>>

mercurial