Update anatole theme.

pull/146/head
ruibaby 2019-04-30 01:15:35 +08:00
parent 57c0f80399
commit deaaf5be5b
2 changed files with 12 additions and 12 deletions

View File

@ -14,12 +14,12 @@
<@linkTag method="list">
<#if links?? && links?size gt 0>
<#list links as link>
<p>
<a href="${link.url}" target="_blank" rel="external">${link.name}</a>
<#if link.description!=''>
${link.description}
</#if>
</p>
<p>
<a href="${link.url}" target="_blank" rel="external">${link.name}</a>
<#if link.description!=''>
${link.description}
</#if>
</p>
</#list>
</#if>
</@linkTag>

View File

@ -1,5 +1,5 @@
<#include "module/macro.ftl">
<@head title="${post.title!} · ${options.blog_title!'Anatole'}" keywords="${post.title!},${options.seo_keywords!'Anatole'}" description="${post.summary!'Anatole'}"></@head>
<@head title="${sheet.title!} · ${options.blog_title!'Anatole'}" keywords="${sheet.title!},${options.seo_keywords!'Anatole'}" description="${sheet.summary!'Anatole'}"></@head>
<#include "module/sidebar.ftl">
<div class="main">
<link href="/${theme.folderName}/source/plugins/prism/prism.css" type="text/css" rel="stylesheet" />
@ -40,19 +40,19 @@
<div class="post animated fadeInDown">
<div class="post-title">
<h3>
<a>${post.title!}</a>
<a>${sheet.title!}</a>
</h3>
</div>
<div class="post-content">
${post.formatContent!}
${sheet.formatContent!}
</div>
<div class="post-footer">
<div class="meta">
<div class="info">
<i class="fa fa-sun-o"></i>
<span class="date">${post.createTime?string("yyyy-MM-dd")}</span>
<span class="date">${sheet.createTime?string("yyyy-MM-dd")}</span>
<i class="fa fa-comment-o"></i>
<a href="${options.blog_url!}/archives/${post.url!}#comment_widget">Comments</a>
<a href="${options.blog_url!}/archives/${sheet.url!}#comment_widget">Comments</a>
</div>
</div>
</div>
@ -67,7 +67,7 @@
class="fa fa-weibo"></a>
</div>
<div class="twitter">
<a href="http://twitter.com/home?status=${options.blog_url!}/archives/${post.url!} ,${options.blog_title!},${post.title!},;"
<a href="http://twitter.com/home?status=${options.blog_url!}/archives/${sheet.url!} ,${options.blog_title!},${sheet.title!},;"
class="fa fa-twitter"></a>
</div>
</div>