chore: 模板文件名称修改
This commit is contained in:
		
							parent
							
								
									f3d087acf4
								
							
						
					
					
						commit
						5a43c78e7b
					
				| @ -1,5 +1,5 @@ | ||||
| <#include "layout.ftl"> | ||||
| <#include "main/article_list.ftl"> | ||||
| <#include "templates/main/article_list.html"> | ||||
| <#global is_error = true> | ||||
| <#macro errorpage etitle,desc,status,content,message> | ||||
|     <@layout title="${status!}错误 - ${blog_title!}" canonical="${blog_url!}/${status!}"> | ||||
|  | ||||
| @ -9,9 +9,9 @@ | ||||
| <!--<#global is_first_index=(posts.number == 0) >--> | ||||
| <!--<@layout title="${blog_title!}" canonical="${blog_url!}">--> | ||||
| <!--    <#if posts.content?? && posts.content?size gt 0>--> | ||||
| <!--        <#include "templates/main/article_list.ftl">--> | ||||
| <!--        <#include "templates/main/article_list.html">--> | ||||
| <!--        <@article_list posts.content/>--> | ||||
| <!--        <#include "templates/main/pagination.ftl">--> | ||||
| <!--        <#include "templates/main/pagination.html">--> | ||||
| <!--        <@pagination method="index" datas=posts display="${settings.page_number!5}" />--> | ||||
| <!--    <#else>--> | ||||
| <!--        <div class="card card-empty">--> | ||||
|  | ||||
| @ -53,7 +53,7 @@ | ||||
|             </#if> | ||||
|             <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)> | ||||
|                 <div class="article-operation"> | ||||
| @ -53,7 +53,7 @@ | ||||
|             </#if> | ||||
|             <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)> | ||||
|                 <div class="article-operation"> | ||||
| @ -68,7 +68,7 @@ | ||||
|             <#if enable_copyright == 'true' || enable_share> | ||||
|                 <hr/> | ||||
|                 <#if enable_copyright == 'true'> | ||||
|                     <#include "copyright.ftl"> | ||||
|                     <#include "templates/main/copyright.html"> | ||||
|                 </#if> | ||||
|                 <#if enable_share> | ||||
|                     <div class="dshare"></div> | ||||
| @ -98,7 +98,7 @@ | ||||
|     <#if (!post.disallowComment!false) && settings.enable_comment!true> | ||||
|         <div class="card card-content" id="comment-wrapper"> | ||||
|             <h3 class="comment-title">评论</h3> | ||||
|             <#include "comment.ftl"> | ||||
|             <#include "templates/main/comment.html"> | ||||
|             <@comment post.id?c, commentType /> | ||||
|         </div> | ||||
|     </#if> | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user