解决BUG
This commit is contained in:
parent
2e4f82de23
commit
b7d042b097
11
footer.ftl
11
footer.ftl
|
@ -22,22 +22,25 @@
|
||||||
<#--存在问题 -->
|
<#--存在问题 -->
|
||||||
<h3 class="title-date">时光机:</h3>
|
<h3 class="title-date">时光机:</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<@postTag method="archiveMonth" top="6">
|
<@postTag method="archiveMonth" >
|
||||||
<#list archives as archive>
|
<#list archives as archive>
|
||||||
<li>
|
<li>
|
||||||
<a href="${archive.fullPath!}" rel="nofollow" target="_blank">${archive.year?c} 年${archive.month?c} 月</a>
|
<a href="${archive.fullPath!}" rel="nofollow" target="_blank">${archive.year?c} 年${archive.month?c} 月</a>
|
||||||
</li>
|
</li>
|
||||||
|
<#if ((archive?counter)?eval==6)>
|
||||||
|
<#break>
|
||||||
|
</#if>
|
||||||
</#list>
|
</#list>
|
||||||
</@postTag>
|
</@postTag>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-m-4">
|
<div class="col-m-4">
|
||||||
<#--存在问题 -->
|
<#--存在问题点击超链接后不能跳转到评论模块 -->
|
||||||
<h3 class="title-comments">最近评论:</h3>
|
<h3 class="title-comments">最近评论:</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<@commentTag method="latest" top="6">
|
<@commentTag method="latest" top="6">
|
||||||
<#list comments.content as comment>
|
<#list comments.content as comment>
|
||||||
<li>${comment.author!}:<a href="${comment.fullPath!}" rel="nofollow" target="_blank">${comment.content!}</a></li>
|
<li>${comment.author!}: <a href="${comment.post.fullPath!}#${comment.id!}" rel="nofollow" target="_blank">${comment.content!}</a></li>
|
||||||
</#list>
|
</#list>
|
||||||
</@commentTag>
|
</@commentTag>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
3
post.ftl
3
post.ftl
|
@ -14,7 +14,8 @@
|
||||||
</#list>
|
</#list>
|
||||||
</span>
|
</span>
|
||||||
<span class="comments">${post.commentCount!}</span>
|
<span class="comments">${post.commentCount!}</span>
|
||||||
<span class="visits">${post.visits!}</span>
|
<#--计数问题-->
|
||||||
|
<span class="visits">${post.visits!0}</span>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<article class="post-content">
|
<article class="post-content">
|
||||||
|
|
|
@ -419,9 +419,10 @@ main img {
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
width:100%;
|
width:100%;
|
||||||
height:100%;
|
height:100%;
|
||||||
border-radius:20px;
|
background-color:rgb(255, 255, 255);
|
||||||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
|
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
|
||||||
padding:10px
|
border-radius:20px;
|
||||||
|
padding:10px;
|
||||||
}
|
}
|
||||||
.post-item:last-child{ margin-bottom: 0 }
|
.post-item:last-child{ margin-bottom: 0 }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue