-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathlinks.ftl
84 lines (78 loc) · 3.35 KB
/
links.ftl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<#--
Solo - A small and beautiful blogging system written in Java.
Copyright (c) 2010-present, b3log.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<#include "../../common-template/macro-common_head.ftl">
<!DOCTYPE html>
<html>
<head>
<@head title="${linkLabel} - ${blogTitle}">
<link rel="stylesheet" href="${staticServePath}/skins/${skinDirName}/css/base.css?${staticResourceVersion}"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/mdui.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/styles/atom-one-dark.css">
<link rel="stylesheet"
href="${staticServePath}/skins/${skinDirName}/css/font-icon.css?${staticResourceVersion}">
</@head>
</head>
<body class="mdui-drawer-body-left mdui-loaded">
<div id="nexmoe-background">
<#include "header.ftl">
</div>
<div id="nexmoe-header">
<#include "side.ftl">
</div>
<div id="nexmoe-content">
<div class="nexmoe-primary">
<main id="pjax" class="fn__flex-1">
<#if pjax><!---- pjax {#pjax} start ----></#if>
<article class="links nexmoe-py">
<h2>${linkLabel}</h2>
<#if 0 != links?size>
<#if 'list' != customVars.key1>
<#list links as link>
<div class="other__item">
<a href="${link.linkAddress}" target="_blank"
rel="noopener">
${link.linkTitle}
</a>
<div>${link.linkDescription}</div>
</div>
</#list>
<#else>
<ul>
<#list links as link>
<li>
<a href="${link.linkAddress}" title="${link.linkTitle}" target="_blank"
rel="noopener">
<img src="${link.linkIcon}"
alt="${link.linkDescription}">
</a>
</li>
</#list>
</ul>
</#if>
</#if>
</article>
<#if pjax><!---- pjax {#pjax} end ----></#if>
</main>
<#if "" != noticeBoard>
<div class="nexmoe-hitokoto">
<p id="hitokoto">${blogSubtitle}</p>
</div>
</#if>
<div class="back-to-top iconfont solo-gotop" onclick="Util.goTop()"></div>
</div>
</div>
<#include "footer.ftl">
</body>
</html>