This commit is contained in:
Van 2019-03-01 13:19:43 +08:00
parent df3df935dd
commit b1a6c42c0d
No known key found for this signature in database
GPG Key ID: 7059B8783A78F16C
3 changed files with 17 additions and 14 deletions

View File

@ -117,8 +117,8 @@
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<div id="relevantArticles" class="article-relative"></div> <div id="relevantArticles" class="article-relative"></div>
<ol id="randomArticles"></ol> <div id="randomArticles"></div>
<ol id="externalRelevantArticles"></ol> <div id="externalRelevantArticles"></div>
<@comments commentList=articleComments article=article></@comments> <@comments commentList=articleComments article=article></@comments>
</article> </article>
<#include "side.ftl"> <#include "side.ftl">

View File

@ -29,7 +29,7 @@ Update: Dongxu Wang 2011-02-24
/* /*
* skin owmx-3.0 style * skin owmx-3.0 style
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a> * @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 2.0.0.0, Feb 21, 2019 * @version 2.1.0.0, Mar 1, 2019
*/ */
@import "../../../scss/reset-content"; @import "../../../scss/reset-content";
@ -273,7 +273,8 @@ article input, article textarea {
border : 1px solid #CCC; border : 1px solid #CCC;
font-size : 11px; font-size : 11px;
padding : 4px 5px; padding : 4px 5px;
width : 458px; width: 100%;
box-sizing: border-box;
} }
/* Lists */ /* Lists */

View File

@ -158,17 +158,19 @@
<h4>${archiveLabel}</h4> <h4>${archiveLabel}</h4>
<ul> <ul>
<#list archiveDates as archiveDate> <#list archiveDates as archiveDate>
<li> <#if archiveDate_index < 10>
<#if "en" == localeString?substring(0, 2)> <li>
<a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}" <#if "en" == localeString?substring(0, 2)>
title="${archiveDate.monthName} ${archiveDate.archiveDateYear}(${archiveDate.archiveDatePublishedArticleCount})"> <a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}"
${archiveDate.monthName} ${archiveDate.archiveDateYear}</a>(${archiveDate.archiveDatePublishedArticleCount}) title="${archiveDate.monthName} ${archiveDate.archiveDateYear}(${archiveDate.archiveDatePublishedArticleCount})">
<#else> ${archiveDate.monthName} ${archiveDate.archiveDateYear}</a>(${archiveDate.archiveDatePublishedArticleCount})
<a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}" <#else>
title="${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}(${archiveDate.archiveDatePublishedArticleCount})"> <a href="${servePath}/archives/${archiveDate.archiveDateYear}/${archiveDate.archiveDateMonth}"
${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}</a>(${archiveDate.archiveDatePublishedArticleCount}) title="${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}(${archiveDate.archiveDatePublishedArticleCount})">
${archiveDate.archiveDateYear} ${yearLabel} ${archiveDate.archiveDateMonth} ${monthLabel}</a>(${archiveDate.archiveDatePublishedArticleCount})
</#if>
</li>
</#if> </#if>
</li>
</#list> </#list>
</ul> </ul>
</#if> </#if>