File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
upupor-service/src/main/java/com/upupor/service/business/pages/content
upupor-web/src/main/resources/templates/content Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -61,9 +61,9 @@ protected String pageUrl() {
6161
6262 @ Override
6363 protected void seoInfo () {
64- modelAndView .addObject (CcConstant .SeoKey .TITLE , "全部文章 " );
65- modelAndView .addObject (CcConstant .SeoKey .DESCRIPTION , "全部文章 " );
66- modelAndView .addObject (CcConstant .SeoKey .BUSINESS_TITLE , "全部文章 " );
64+ modelAndView .addObject (CcConstant .SeoKey .TITLE , "所有内容 " );
65+ modelAndView .addObject (CcConstant .SeoKey .DESCRIPTION , "所有内容 " );
66+ modelAndView .addObject (CcConstant .SeoKey .BUSINESS_TITLE , "所有内容 " );
6767 }
6868
6969 @ Override
Original file line number Diff line number Diff line change 4343 </ div >
4444 </ div >
4545 < div class ="col-lg-3 ">
46- <!-- <div class="card card-body shadow-sm border-bottom border-2 border-top-0 border-start border-end-0 p-2 mb-2">-->
47- <!-- <div class="lead">文章动态</div>-->
48- <!-- <div class="text-secondary">[[${businessTitle}]]</div>-->
49- <!-- </div>-->
46+ < div class ="card card-body shadow-sm border-bottom border-2 border-top-0 border-start border-end-0 p-2 mb-2 ">
47+ < div class ="nav flex-column nav-pills " aria-orientation ="vertical ">
48+ < a th:class ="${businessTitle == '所有内容'?'nav-link cv-link active':'nav-link cv-link'} " href ="/content/all " title ="所有内容 "> 所有内容</ a >
49+ < a th:class ="${businessTitle == '新内容'?'nav-link cv-link active':'nav-link cv-link'} " href ="/content/new " title ="新内容 "> 新内容</ a >
50+ < a th:class ="${businessTitle == '内容有更新'?'nav-link cv-link active':'nav-link cv-link'} " href ="/content/recently-edited " title ="内容有更新 "> 内容有更新</ a >
51+ </ div >
52+ </ div >
5053 < div th:include ="fragments/index::global_search "> </ div >
5154 <!--全局个人信息卡片-->
5255 < div th:include ="fragments/index::global_member_info "> </ div >
You can’t perform that action at this time.
0 commit comments