解决BUG

This commit is contained in:
julylies 2022-04-18 22:06:41 +08:00
parent 2e4f82de23
commit b7d042b097
3 changed files with 12 additions and 7 deletions

View File

@ -22,22 +22,25 @@
<#--存在问题 -->
<h3 class="title-date">时光机:</h3>
<ul>
<@postTag method="archiveMonth" top="6">
<#list archives as archive>
<@postTag method="archiveMonth" >
<#list archives as archive>
<li>
<a href="${archive.fullPath!}" rel="nofollow" target="_blank">${archive.year?c} 年${archive.month?c} 月</a>
</li>
<#if ((archive?counter)?eval==6)>
<#break>
</#if>
</#list>
</@postTag>
</ul>
</div>
<div class="col-m-4">
<#--存在问题 -->
<#--存在问题点击超链接后不能跳转到评论模块 -->
<h3 class="title-comments">最近评论:</h3>
<ul>
<@commentTag method="latest" top="6">
<#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>
</@commentTag>
</ul>

View File

@ -14,7 +14,8 @@
</#list>
</span>
<span class="comments">${post.commentCount!}</span>
<span class="visits">${post.visits!}</span>
<#--计数问题-->
<span class="visits">${post.visits!0}</span>
</div>
</section>
<article class="post-content">

View File

@ -419,9 +419,10 @@ main img {
word-break: break-all;
width:100%;
height:100%;
border-radius:20px;
background-color:rgb(255, 255, 255);
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 }