This commit is contained in:
Van
2019-03-22 19:27:08 +08:00
parent b2fe147b13
commit 04be872d8c
7 changed files with 43 additions and 20 deletions

View File

@@ -21,6 +21,10 @@
<div class="overlay">
<a onclick="$('.side .toc').show()" href="javascript:void(0)" class="toc-btn">${tocLabel}</a>
</div>
<#include "../../common-template/macro-user_site.ftl"/>
<div class="user__sites">
<@userSite dir=""/>
</div>
<header class="content">
<a href="${servePath}">
<img class="avatar" src="${adminUser.userAvatar}" title="${userName}"/>
@@ -44,8 +48,7 @@
</#list>
<li>
<a href="${servePath}/dynamic.html">${dynamicLabel}</a>
</li>
<li>
&nbsp; &nbsp;
<a href="${servePath}/tags.html">${allTagsLabel}</a>
&nbsp; &nbsp;
<a href="${servePath}/archives.html">${archiveLabel}</a>
@@ -73,4 +76,10 @@
</#if> &nbsp; &nbsp;
<a rel="alternate" href="${servePath}/rss.xml" title="${subscribeLabel}" class="icon-rss"></a>
</footer>
<#if article?? && article.articleToC?? && article.articleToC?size &gt; 0>
<div class="toc">
<a onclick="$('.side .toc').hide();" href="javascript:void(0)" class="close">X</a>
<#include "../../common-template/toc.ftl"/>
</div>
</#if>
</div>