mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 03:09:41 +08:00
chore: 模板文件名称修改
This commit is contained in:
parent
f3d087acf4
commit
5a43c78e7b
@ -1,5 +1,5 @@
|
|||||||
<#include "layout.ftl">
|
<#include "layout.ftl">
|
||||||
<#include "main/article_list.ftl">
|
<#include "templates/main/article_list.html">
|
||||||
<#global is_error = true>
|
<#global is_error = true>
|
||||||
<#macro errorpage etitle,desc,status,content,message>
|
<#macro errorpage etitle,desc,status,content,message>
|
||||||
<@layout title="${status!}错误 - ${blog_title!}" canonical="${blog_url!}/${status!}">
|
<@layout title="${status!}错误 - ${blog_title!}" canonical="${blog_url!}/${status!}">
|
||||||
|
@ -9,9 +9,9 @@
|
|||||||
<!--<#global is_first_index=(posts.number == 0) >-->
|
<!--<#global is_first_index=(posts.number == 0) >-->
|
||||||
<!--<@layout title="${blog_title!}" canonical="${blog_url!}">-->
|
<!--<@layout title="${blog_title!}" canonical="${blog_url!}">-->
|
||||||
<!-- <#if posts.content?? && posts.content?size gt 0>-->
|
<!-- <#if posts.content?? && posts.content?size gt 0>-->
|
||||||
<!-- <#include "templates/main/article_list.ftl">-->
|
<!-- <#include "templates/main/article_list.html">-->
|
||||||
<!-- <@article_list posts.content/>-->
|
<!-- <@article_list posts.content/>-->
|
||||||
<!-- <#include "templates/main/pagination.ftl">-->
|
<!-- <#include "templates/main/pagination.html">-->
|
||||||
<!-- <@pagination method="index" datas=posts display="${settings.page_number!5}" />-->
|
<!-- <@pagination method="index" datas=posts display="${settings.page_number!5}" />-->
|
||||||
<!-- <#else>-->
|
<!-- <#else>-->
|
||||||
<!-- <div class="card card-empty">-->
|
<!-- <div class="card card-empty">-->
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
</#if>
|
</#if>
|
||||||
<div data-id="${post.id?c}" data-target="${commentType}s" class="main-content article">${post.formatContent!}</div>
|
<div data-id="${post.id?c}" data-target="${commentType}s" class="main-content article">${post.formatContent!}</div>
|
||||||
|
|
||||||
<#include "admire.ftl">
|
<#include "templates/main/admire.html">
|
||||||
|
|
||||||
<#if tags?? && (tags?size gt 0)>
|
<#if tags?? && (tags?size gt 0)>
|
||||||
<div class="article-operation">
|
<div class="article-operation">
|
@ -53,7 +53,7 @@
|
|||||||
</#if>
|
</#if>
|
||||||
<div data-id="${post.id?c}" data-target="${commentType}s" class="main-content literature-content article">${post.formatContent!}</div>
|
<div data-id="${post.id?c}" data-target="${commentType}s" class="main-content literature-content article">${post.formatContent!}</div>
|
||||||
|
|
||||||
<#include "admire.ftl">
|
<#include "templates/main/admire.html">
|
||||||
|
|
||||||
<#if tags?? && (tags?size gt 0)>
|
<#if tags?? && (tags?size gt 0)>
|
||||||
<div class="article-operation">
|
<div class="article-operation">
|
||||||
@ -68,7 +68,7 @@
|
|||||||
<#if enable_copyright == 'true' || enable_share>
|
<#if enable_copyright == 'true' || enable_share>
|
||||||
<hr/>
|
<hr/>
|
||||||
<#if enable_copyright == 'true'>
|
<#if enable_copyright == 'true'>
|
||||||
<#include "copyright.ftl">
|
<#include "templates/main/copyright.html">
|
||||||
</#if>
|
</#if>
|
||||||
<#if enable_share>
|
<#if enable_share>
|
||||||
<div class="dshare"></div>
|
<div class="dshare"></div>
|
||||||
@ -98,7 +98,7 @@
|
|||||||
<#if (!post.disallowComment!false) && settings.enable_comment!true>
|
<#if (!post.disallowComment!false) && settings.enable_comment!true>
|
||||||
<div class="card card-content" id="comment-wrapper">
|
<div class="card card-content" id="comment-wrapper">
|
||||||
<h3 class="comment-title">评论</h3>
|
<h3 class="comment-title">评论</h3>
|
||||||
<#include "comment.ftl">
|
<#include "templates/main/comment.html">
|
||||||
<@comment post.id?c, commentType />
|
<@comment post.id?c, commentType />
|
||||||
</div>
|
</div>
|
||||||
</#if>
|
</#if>
|
Loading…
x
Reference in New Issue
Block a user