This commit is contained in:
parent
65343c5618
commit
6adee8cc2f
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
-->
|
-->
|
||||||
<#list articles as article>
|
<#list articles as article>
|
||||||
<article>
|
<article>
|
||||||
<header class="fn__flex">
|
<header class="fn__flex">
|
||||||
<h2 class="fn__flex-1">
|
<h2 class="fn__flex-1">
|
||||||
<a rel="bookmark" href="${servePath}${article.articlePermalink}">
|
<a rel="bookmark" href="${servePath}${article.articlePermalink}">
|
||||||
@ -39,9 +39,15 @@
|
|||||||
</h2>
|
</h2>
|
||||||
<time><span class="icon-date"></span> ${article.articleUpdateDate?string("yyyy-MM-dd")}</time>
|
<time><span class="icon-date"></span> ${article.articleUpdateDate?string("yyyy-MM-dd")}</time>
|
||||||
</header>
|
</header>
|
||||||
<section class="abstract vditor-reset">
|
<#if article.articleAbstractText == ''>
|
||||||
${article.articleAbstract}
|
<a class="abstract" href="${servePath}${article.articlePermalink}">
|
||||||
</section>
|
<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">
|
<footer class="article__footer fn__flex">
|
||||||
<span class="icon-tag fn__flex-center"></span>
|
<span class="icon-tag fn__flex-center"></span>
|
||||||
<span> </span>
|
<span> </span>
|
||||||
@ -69,10 +75,11 @@
|
|||||||
</a>
|
</a>
|
||||||
</#if>
|
</#if>
|
||||||
<a rel="nofollow" href="${servePath}/authors/${article.authorId}" class="fn__flex-center">
|
<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>
|
</a>
|
||||||
</footer>
|
</footer>
|
||||||
</article>
|
</article>
|
||||||
</#list>
|
</#list>
|
||||||
|
|
||||||
<#if 0 != paginationPageCount>
|
<#if 0 != paginationPageCount>
|
||||||
@ -93,4 +100,4 @@
|
|||||||
<a href="${servePath}${path}?p=${paginationNextPageNum}" class="extend">${nextPagePabel}</a>
|
<a href="${servePath}${path}?p=${paginationNextPageNum}" class="extend">${nextPagePabel}</a>
|
||||||
</#if>
|
</#if>
|
||||||
</nav>
|
</nav>
|
||||||
</#if>
|
</#if>
|
||||||
|
File diff suppressed because one or more lines are too long
@ -641,7 +641,9 @@ article .abstract {
|
|||||||
padding-right: 30px;
|
padding-right: 30px;
|
||||||
padding-left: 30px;
|
padding-left: 30px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
word-wrap: break-word
|
word-wrap: break-word;
|
||||||
|
display: block;
|
||||||
|
color: rgba(0,0,0,0.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
.article__footer {
|
.article__footer {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user