This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
redemption/module/header.ftl
2022-01-15 01:02:47 +08:00

30 lines
1.5 KiB
Plaintext

<div class="header">
<div class="title">
<a href="${blog_url!}"><span>无尽光芒</span></a>
</div>
<div class="description">
<p>${settings.sub_title!'the site subtitle'}</p>
<div class="socials">
<#if settings.aboutme??>
<a href="${settings.aboutme}" title="关于我" target="_blank"><i class="ri-footprint-line"></i></a>
</#if>
<#if settings.github??>
<a href="${settings.github}" title="Github" target="_blank"><i class="ri-github-line"></i></a>
</#if>
<#if settings.wechat??>
<a href="${settings.wechat}" title="微信" target="_blank"><i class="ri-wechat-line"></i></a>
</#if>
<#if settings.bilibili??>
<a href="${settings.bilibili}" title="哔哩哔哩" target="_blank"><i class="ri-bilibili-line"></i></a>
</#if>
<#if settings.mail??>
<a href="mailto:${settings.mail}" title="邮箱" target="_blank"><i class="ri-mail-line"></i></a>
</#if>
<#if settings.links??>
<a href="${settings.links}" title="友情链接" target="_blank"><i class="ri-links-line"></i></a>
</#if>
<a href="${sitemap_html_url!}" type="application/sitemap" title="站点地图" target="_blank"><i class="ri-map-2-line"></i></a>
<a href="${rss_url!}" type="application/rss+xml" title="订阅" target="_blank"><i class="ri-rss-line"></i></a>
</div>
</div>
</div>