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

changeset 198
94f174d591ab
parent 197
0a2ad22ac656
child 199
59393c8cc557
--- a/src/main/webapp/WEB-INF/jsp/site.jsp	Thu May 13 18:01:56 2021 +0200
+++ b/src/main/webapp/WEB-INF/jsp/site.jsp	Thu May 13 19:31:09 2021 +0200
@@ -33,6 +33,9 @@
 <%-- Make the base href easily available at request scope --%>
 <c:set scope="page" var="baseHref" value="${requestScope[Constants.REQ_ATTR_BASE_HREF]}"/>
 
+<%-- The feed URL for this page. --%>
+<c:set scope="page" var="feedHref" value="${requestScope[Constants.REQ_ATTR_FEED_HREF]}"/>
+
 <%-- Define an alias for the request path --%>
 <c:set scope="page" var="requestPath" value="${requestScope[Constants.REQ_ATTR_PATH]}"/>
 
@@ -62,8 +65,7 @@
         <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="${baseHref}feed/issues.rss" />
+    <link rel="alternate" type="application/rss+xml" title="RSS" href="${feedHref}" />
     <c:if test="${not empty extraCss}">
         <c:forEach items="${extraCss}" var="cssFile">
         <link rel="stylesheet" href="${cssFile}" type="text/css">

mercurial