31 <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> |
31 <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> |
32 |
32 |
33 <%-- Make the base href easily available at request scope --%> |
33 <%-- Make the base href easily available at request scope --%> |
34 <c:set scope="page" var="baseHref" value="${requestScope[Constants.REQ_ATTR_BASE_HREF]}"/> |
34 <c:set scope="page" var="baseHref" value="${requestScope[Constants.REQ_ATTR_BASE_HREF]}"/> |
35 |
35 |
|
36 <%-- The feed URL for this page. --%> |
|
37 <c:set scope="page" var="feedHref" value="${requestScope[Constants.REQ_ATTR_FEED_HREF]}"/> |
|
38 |
36 <%-- Define an alias for the request path --%> |
39 <%-- Define an alias for the request path --%> |
37 <c:set scope="page" var="requestPath" value="${requestScope[Constants.REQ_ATTR_PATH]}"/> |
40 <c:set scope="page" var="requestPath" value="${requestScope[Constants.REQ_ATTR_PATH]}"/> |
38 |
41 |
39 <%-- Define an alias for the navigation menu --%> |
42 <%-- Define an alias for the navigation menu --%> |
40 <c:set scope="page" var="navMenu" value="${requestScope[Constants.REQ_ATTR_NAVIGATION]}"/> |
43 <c:set scope="page" var="navMenu" value="${requestScope[Constants.REQ_ATTR_NAVIGATION]}"/> |
60 <meta charset="UTF-8"> |
63 <meta charset="UTF-8"> |
61 <c:if test="${not empty redirectLocation}"> |
64 <c:if test="${not empty redirectLocation}"> |
62 <meta http-equiv="refresh" content="0; URL=${redirectLocation}"> |
65 <meta http-equiv="refresh" content="0; URL=${redirectLocation}"> |
63 </c:if> |
66 </c:if> |
64 <link rel="stylesheet" href="lightpit.css" type="text/css"> |
67 <link rel="stylesheet" href="lightpit.css" type="text/css"> |
65 <link rel="alternate" type="application/rss+xml" |
68 <link rel="alternate" type="application/rss+xml" title="RSS" href="${feedHref}" /> |
66 title="RSS" href="${baseHref}feed/issues.rss" /> |
|
67 <c:if test="${not empty extraCss}"> |
69 <c:if test="${not empty extraCss}"> |
68 <c:forEach items="${extraCss}" var="cssFile"> |
70 <c:forEach items="${extraCss}" var="cssFile"> |
69 <link rel="stylesheet" href="${cssFile}" type="text/css"> |
71 <link rel="stylesheet" href="${cssFile}" type="text/css"> |
70 </c:forEach> |
72 </c:forEach> |
71 </c:if> |
73 </c:if> |