mirror of https://github.com/halo-dev/halo
🎨 代码优化
parent
c3bd63311a
commit
b1ab7a99fe
|
@ -1,9 +1,5 @@
|
||||||
<#include "module/macro.ftl">
|
<#include "module/macro.ftl">
|
||||||
<#if tag??>
|
<@head title="${options.blog_title?default('Anatole')}" keywords="${options.seo_keywords?default('Anatole')}" description="${options.seo_desc?default('Anatole')}"></@head>
|
||||||
<@head title="${tag.tagName} · ${options.blog_title?default('Anatole')}" keywords="${options.seo_keywords?default('Anatole')}" description="${options.seo_desc?default('Anatole')}"></@head>
|
|
||||||
<#else>
|
|
||||||
<@head title="${options.blog_title?default('Anatole')}" keywords="${options.seo_keywords?default('Anatole')}" description="${options.seo_desc?default('Anatole')}"></@head>
|
|
||||||
</#if>
|
|
||||||
<#include "module/sidebar.ftl">
|
<#include "module/sidebar.ftl">
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<#include "module/page-top.ftl">
|
<#include "module/page-top.ftl">
|
||||||
|
@ -35,4 +31,4 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<@footer></@footer>
|
<@footer></@footer>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<#include "../../../common/macro/common_macro.ftl">
|
<#include "../../../common/macro/common_macro.ftl">
|
||||||
<#macro head title="" keywords="" description="">
|
<#macro head title,keywords,description>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
Loading…
Reference in New Issue