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

changeset 198
94f174d591ab
parent 197
0a2ad22ac656
child 199
59393c8cc557
     1.1 --- a/src/main/webapp/WEB-INF/jsp/site.jsp	Thu May 13 18:01:56 2021 +0200
     1.2 +++ b/src/main/webapp/WEB-INF/jsp/site.jsp	Thu May 13 19:31:09 2021 +0200
     1.3 @@ -33,6 +33,9 @@
     1.4  <%-- Make the base href easily available at request scope --%>
     1.5  <c:set scope="page" var="baseHref" value="${requestScope[Constants.REQ_ATTR_BASE_HREF]}"/>
     1.6  
     1.7 +<%-- The feed URL for this page. --%>
     1.8 +<c:set scope="page" var="feedHref" value="${requestScope[Constants.REQ_ATTR_FEED_HREF]}"/>
     1.9 +
    1.10  <%-- Define an alias for the request path --%>
    1.11  <c:set scope="page" var="requestPath" value="${requestScope[Constants.REQ_ATTR_PATH]}"/>
    1.12  
    1.13 @@ -62,8 +65,7 @@
    1.14          <meta http-equiv="refresh" content="0; URL=${redirectLocation}">
    1.15      </c:if>
    1.16      <link rel="stylesheet" href="lightpit.css" type="text/css">
    1.17 -    <link rel="alternate" type="application/rss+xml"
    1.18 -          title="RSS" href="${baseHref}feed/issues.rss" />
    1.19 +    <link rel="alternate" type="application/rss+xml" title="RSS" href="${feedHref}" />
    1.20      <c:if test="${not empty extraCss}">
    1.21          <c:forEach items="${extraCss}" var="cssFile">
    1.22          <link rel="stylesheet" href="${cssFile}" type="text/css">

mercurial