💄 scroll
This commit is contained in:
parent
c23ba44a73
commit
8b537d271a
|
@ -23,16 +23,16 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<@head title="${article.articleTitle} - ${blogTitle}" description="${article.articleAbstract?html}">
|
<@head title="${article.articleTitle} - ${blogTitle}" description="${article.articleAbstract?html}">
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="${staticServePath}/skins/${skinDirName}/css/base.css?${staticResourceVersion}"/>
|
href="${staticServePath}/skins/${skinDirName}/css/base.css?${staticResourceVersion}"/>
|
||||||
<#if previousArticlePermalink??>
|
<#if previousArticlePermalink??>
|
||||||
<link rel="prev" title="${previousArticleTitle}" href="${servePath}${previousArticlePermalink}">
|
<link rel="prev" title="${previousArticleTitle}" href="${servePath}${previousArticlePermalink}">
|
||||||
</#if>
|
</#if>
|
||||||
<#if nextArticlePermalink??>
|
<#if nextArticlePermalink??>
|
||||||
<link rel="next" title="${nextArticleTitle}" href="${servePath}${nextArticlePermalink}">
|
<link rel="next" title="${nextArticleTitle}" href="${servePath}${nextArticlePermalink}">
|
||||||
</#if>
|
</#if>
|
||||||
</@head>
|
</@head>
|
||||||
</head>
|
</head>
|
||||||
<body class="fn__flex-column">
|
<body class="fn__flex-column">
|
||||||
<div id="pjax" class="fn__flex-1">
|
<div id="pjax" class="fn__flex-1">
|
||||||
|
@ -51,15 +51,16 @@
|
||||||
<div class="ft__center">
|
<div class="ft__center">
|
||||||
<div class="item__meta">
|
<div class="item__meta">
|
||||||
<time>
|
<time>
|
||||||
${article.articleCreateDate?string("yyyy-MM-dd")}
|
${article.articleCreateDate?string("yyyy-MM-dd")}
|
||||||
</time>
|
</time>
|
||||||
/
|
/
|
||||||
<#list article.articleTags?split(",") as articleTag>
|
<#list article.articleTags?split(",") as articleTag>
|
||||||
<a class="tag" rel="tag" href="${servePath}/tags/${articleTag?url('UTF-8')}">${articleTag}</a>
|
<a class="tag" rel="tag"
|
||||||
|
href="${servePath}/tags/${articleTag?url('UTF-8')}">${articleTag}</a>
|
||||||
</#list>
|
</#list>
|
||||||
</div>
|
</div>
|
||||||
<h2 class="item__title">
|
<h2 class="item__title">
|
||||||
${article.articleTitle}
|
${article.articleTitle}
|
||||||
<#if article.articlePutTop>
|
<#if article.articlePutTop>
|
||||||
<sup>
|
<sup>
|
||||||
${topArticleLabel}
|
${topArticleLabel}
|
||||||
|
@ -73,26 +74,28 @@
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="item__cover" style="background-image: url(${article.articleImg1URL})"></div>
|
<div class="item__cover" style="background-image: url(${article.articleImg1URL})"></div>
|
||||||
<section class="vditor-reset item__content item__content--article wrapper">
|
<div class="wrapper item__content item__content--article">
|
||||||
${article.articleContent}
|
<section class="vditor-reset">
|
||||||
<#if "" != article.articleSign.signHTML?trim>
|
${article.articleContent}
|
||||||
<div>
|
<#if "" != article.articleSign.signHTML?trim>
|
||||||
${article.articleSign.signHTML}
|
<div>
|
||||||
</div>
|
${article.articleSign.signHTML}
|
||||||
</#if>
|
</div>
|
||||||
</section>
|
</#if>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<#if article?? && article.articleToC?? && article.articleToC?size > 0>
|
<#if article?? && article.articleToC?? && article.articleToC?size > 0>
|
||||||
<div class="post__toc">
|
<div class="post__toc">
|
||||||
<#include "../../common-template/toc.ftl"/>
|
<#include "../../common-template/toc.ftl"/>
|
||||||
</div>
|
</div>
|
||||||
</#if>
|
</#if>
|
||||||
<@comments commentList=articleComments article=article></@comments>
|
<@comments commentList=articleComments article=article></@comments>
|
||||||
<div class="article__bottom">
|
<div class="article__bottom">
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<div class="fn__flex">
|
<div class="fn__flex">
|
||||||
<#if 0 != externalRelevantArticlesDisplayCount>
|
<#if 0 != externalRelevantArticlesDisplayCount>
|
||||||
<div class="item" id="externalRelevantArticles"></div>
|
<div class="item" id="externalRelevantArticles"></div>
|
||||||
</#if>
|
</#if>
|
||||||
<div class="item" id="randomArticles"></div>
|
<div class="item" id="randomArticles"></div>
|
||||||
<div class="item" id="relevantArticles"></div>
|
<div class="item" id="relevantArticles"></div>
|
||||||
|
@ -106,14 +109,14 @@
|
||||||
<@comment_script oId=article.oId commentable=article.commentable>
|
<@comment_script oId=article.oId commentable=article.commentable>
|
||||||
page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}";
|
page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}";
|
||||||
<#if 0 != randomArticlesDisplayCount>
|
<#if 0 != randomArticlesDisplayCount>
|
||||||
page.loadRandomArticles('<h3>${randomArticlesLabel}</h3>');
|
page.loadRandomArticles('<h3>${randomArticlesLabel}</h3>');
|
||||||
</#if>
|
</#if>
|
||||||
<#if 0 != externalRelevantArticlesDisplayCount>
|
<#if 0 != externalRelevantArticlesDisplayCount>
|
||||||
page.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag>${articleTag}<#if articleTag_has_next>,</#if></#list>",
|
page.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag>${articleTag}<#if articleTag_has_next>,</#if></#list>",
|
||||||
'<h3>${externalRelevantArticlesLabel}</h3>');
|
'<h3>${externalRelevantArticlesLabel}</h3>');
|
||||||
</#if>
|
</#if>
|
||||||
<#if 0 != relevantArticlesDisplayCount>
|
<#if 0 != relevantArticlesDisplayCount>
|
||||||
page.loadRelevantArticles('${article.oId}', '<h3>${relevantArticlesLabel}</h3>');
|
page.loadRelevantArticles('${article.oId}', '<h3>${relevantArticlesLabel}</h3>');
|
||||||
</#if>
|
</#if>
|
||||||
Skin.initArticle()
|
Skin.initArticle()
|
||||||
</@comment_script>
|
</@comment_script>
|
||||||
|
|
Loading…
Reference in New Issue