Переглянути джерело

移除红色二级模板栏目页首页入口

去掉非繁二级网站模板-红色列表页标题栏右侧的站点首页链接,目录页同位置同步移除,保持内页栏目标题栏只展示当前栏目标题。

Validation:

- 浏览器刷新 http://ffkj-dept-red.localhost:4188/shouyezhuanye/,确认标题栏只剩专业建设且右侧首页链接数量为 0

- git diff --check -- WebRoot/web/upload/ffkj-template/college-red-list.jsp WebRoot/web/upload/ffkj-template/college-red-catalog.jsp
非繁 5 місяців тому
батько
коміт
e4ca99fac8

+ 1 - 1
WebRoot/web/upload/ffkj-template/college-red-catalog.jsp

@@ -25,7 +25,7 @@
 		<main>
 			<section class="department-inner-hero"><div class="wrap"></div></section>
 			<section class="department-inner-meta"><div class="wrap"><p class="inner-breadcrumb"><a href="/">${website.seoTitle}</a><c:forEach items="${crumbsNavList}" var="item"><span>/</span><a href="${item.url}">${item.name}</a></c:forEach></p></div></section>
-			<section class="department-inner-content"><div class="wrap department-list-layout"><aside class="department-column-nav"><strong>${website.seoTitle}栏目</strong><c:forEach items="${childrenNavList}" var="item"><a href="${item.href}" target="${item.target}">${item.name}</a></c:forEach></aside><article class="department-column-list"><div class="department-section-title"><h2>${navigation.name}</h2><a href="/">${website.seoTitle}首页</a></div><ul class="department-child-list"><c:forEach items="${childrenNavList}" var="item"><li><a href="${item.href}" target="${item.target}"><div><span>${navigationBadge}</span><strong>${item.name}</strong></div></a></li></c:forEach><c:if test="${empty childrenNavList}"><li><a href="/"><div><span>${navigationBadge}</span><strong>暂无子栏目</strong></div></a></li></c:if></ul></article></div></section>
+			<section class="department-inner-content"><div class="wrap department-list-layout"><aside class="department-column-nav"><strong>${website.seoTitle}栏目</strong><c:forEach items="${childrenNavList}" var="item"><a href="${item.href}" target="${item.target}">${item.name}</a></c:forEach></aside><article class="department-column-list"><div class="department-section-title"><h2>${navigation.name}</h2></div><ul class="department-child-list"><c:forEach items="${childrenNavList}" var="item"><li><a href="${item.href}" target="${item.target}"><div><span>${navigationBadge}</span><strong>${item.name}</strong></div></a></li></c:forEach><c:if test="${empty childrenNavList}"><li><a href="/"><div><span>${navigationBadge}</span><strong>暂无子栏目</strong></div></a></li></c:if></ul></article></div></section>
 		</main>
 		<%@ include file="college-red-footer.jsp"%>
 	</div>

+ 1 - 1
WebRoot/web/upload/ffkj-template/college-red-list.jsp

@@ -60,7 +60,7 @@
 						</c:choose>
 					</aside>
 					<article class="department-column-list">
-						<div class="department-section-title"><h2>${navigation.name}</h2><a href="/">${website.seoTitle}首页</a></div>
+						<div class="department-section-title"><h2>${navigation.name}</h2></div>
 						<c:choose>
 							<c:when test="${not empty childrenNavList}">
 								<ul class="department-child-list">