⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 navigation.jspf

📁 pebble-blog 博客源码博客源码博客源码
💻 JSPF
字号:
<c:choose>  <%-- // todo only show nav links when detail is blog entry, not static page --%>  <c:when test="${displayMode == 'detail'}">  <div id="linearNavigationLinks">    <c:if test="${not empty blogEntry.previousBlogEntry}">      <a href="${blogEntry.previousBlogEntry.localPermalink}">&lt;&lt; ${blogEntry.previousBlogEntry.title}</a> |    </c:if>    <a href="${blog.url}"><fmt:message key="common.home" /></a>    <c:if test="${not empty blogEntry.nextBlogEntry}">      | <a href="${blogEntry.nextBlogEntry.localPermalink}">${blogEntry.nextBlogEntry.title} &gt;&gt;</a>    </c:if>  </div>  </c:when>  <c:when test="${displayMode == 'month'}">  <div id="linearNavigationLinks">    <c:if test="${not empty previousMonth}">      <a href="${previousMonth.permalink}">&lt;&lt; <fmt:formatDate value="${previousMonth.date}" pattern="MMMM yyyy"/></a> |    </c:if>    <a href="${blog.url}"><fmt:message key="common.home" /></a>    <c:if test="${not empty nextMonth}">      | <a href="${nextMonth.permalink}"><fmt:formatDate value="${nextMonth.date}" pattern="MMMM yyyy"/> &gt;&gt;</a>    </c:if>  </div>  </c:when>  <c:when test="${displayMode == 'day'}">  <div id="linearNavigationLinks">    <c:if test="${not empty previousDay}">      <a href="${previousDay.permalink}">&lt;&lt; <fmt:formatDate value="${previousDay.date}" type="date" dateStyle="long"/></a> |    </c:if>    <a href="${blog.url}"><fmt:message key="common.home" /></a>    <c:if test="${not empty nextDay}">      | <a href="${nextDay.permalink}"><fmt:formatDate value="${nextDay.date}" type="date" dateStyle="long"/> &gt;&gt;</a>    </c:if>  </div>  </c:when>  <c:when test="${displayMode == 'page'}">  <div id="linearNavigationLinks">    <c:if test="${pageable.page < pageable.maxPageRange}">      <a href="blogentries/${pageable.nextPage}.html"><fmt:message key="common.previous" /></a> |    </c:if>    <a href="${blog.url}"><fmt:message key="common.home" /></a>    <c:if test="${pageable.page > pageable.minPageRange}">      | <a href="blogentries/${pageable.previousPage}.html"><fmt:message key="common.next" /></a>    </c:if>  </div>  </c:when>  <c:otherwise>  <div id="linearNavigationLinks">    <a href="${blog.url}"><fmt:message key="common.home" /></a>  </div>  </c:otherwise></c:choose>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -