This commit is contained in:
Van 2019-08-27 15:45:58 +08:00
parent 65343c5618
commit 6adee8cc2f
No known key found for this signature in database
GPG Key ID: 7059B8783A78F16C
3 changed files with 72 additions and 63 deletions

View File

@ -39,9 +39,15 @@
</h2>
<time><span class="icon-date"></span> ${article.articleUpdateDate?string("yyyy-MM-dd")}</time>
</header>
<section class="abstract vditor-reset">
${article.articleAbstract}
</section>
<#if article.articleAbstractText == ''>
<a class="abstract" href="${servePath}${article.articlePermalink}">
<img src="${article.articleImg1URL}"/>
</a>
<#else>
<a class="abstract vditor-reset" href="${servePath}${article.articlePermalink}">
${article.articleAbstractText}
</a>
</#if>
<footer class="article__footer fn__flex">
<span class="icon-tag fn__flex-center"></span>
<span>&nbsp;&nbsp;&nbsp;</span>
@ -69,7 +75,8 @@
</a>
</#if>
<a rel="nofollow" href="${servePath}/authors/${article.authorId}" class="fn__flex-center">
<img class="avatar" title="${article.authorName}" alt="${article.authorName}" src="${article.authorThumbnailURL}"/>
<img class="avatar" title="${article.authorName}" alt="${article.authorName}"
src="${article.authorThumbnailURL}"/>
</a>
</footer>
</article>

File diff suppressed because one or more lines are too long

View File

@ -641,7 +641,9 @@ article .abstract {
padding-right: 30px;
padding-left: 30px;
overflow: hidden;
word-wrap: break-word
word-wrap: break-word;
display: block;
color: rgba(0,0,0,0.6);
}
.article__footer {