Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Commit

Permalink
✊ upgrade default theme
Browse files Browse the repository at this point in the history
  • Loading branch information
hellokaton committed Sep 27, 2017
1 parent 1789d8a commit 91c5d9d
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 44 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ logs/

# database file #
tale.db
/src/main/resources/templates/themes/
4 changes: 2 additions & 2 deletions src/main/resources/templates/themes/default/archives.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include('./header.html', {title: 'ζ–‡η« ε½’ζ‘£'})
#include('./partial/header.html', {title: 'ζ–‡η« ε½’ζ‘£'})
<div class="main-content archive-page clearfix">
<div class="categorys-item">
#for(archive : archives)
Expand All @@ -24,4 +24,4 @@
#end
</div>
</div>
#include('./footer.html')
#include('./partial/footer.html')
8 changes: 4 additions & 4 deletions src/main/resources/templates/themes/default/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include('./header.html',{home_page:1})
#include('./partial/header.html',{home_page:1})
<div class="main-content index-page clearfix">
<div class="post-lists">
<div class="post-lists-body">
#for(article : articles.rows)
#for(article : articles(12).rows)
<div class="post-list-item">
<div class="post-list-item-container">
<div class="item-thumb bg-deepgrey" style="background-image:url(${show_thumb(article)});"></div>
Expand Down Expand Up @@ -30,7 +30,7 @@
</div>
</div>
<div class="lists-navigator clearfix">
#call pageNav(articles,'←','β†’','page')
#call pageNav(articles(12),'←','β†’','page')
</div>
</div>
#include('./footer.html')
#include('./partial/footer.html')
29 changes: 0 additions & 29 deletions src/main/resources/templates/themes/default/links.html

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include('./header.html', {title: keyword })
#include('./partial/header.html', {title: keyword })
<div class="main-content common-page clearfix">
<div class="categorys-item">
<div class="common-title">
Expand Down Expand Up @@ -32,4 +32,4 @@
#end
</div>
</div>
#include('./footer.html')
#include('./partial/footer.html')
6 changes: 3 additions & 3 deletions src/main/resources/templates/themes/default/page.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include('./header.html', {title: article.title })
#include('./partial/header.html', {title: article.title })
<article class="main-content page-page">
<div class="post-header">
<h1 class="post-title" itemprop="name headline">${title()}</h1>
Expand All @@ -8,5 +8,5 @@ <h1 class="post-title" itemprop="name headline">${title()}</h1>
</div>
<div id="post-content" class="post-content">${show_content()}</div>
</article>
#include('./comments.html')
#include('./footer.html')
#include('./partial/comments.html')
#include('./partial/footer.html')
6 changes: 3 additions & 3 deletions src/main/resources/templates/themes/default/post.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include('./header.html',{title: article.title, keywords: article.tags})
#include('./partial/header.html',{title: article.title, keywords: article.tags})
<article class="main-content page-page" itemscope itemtype="http://schema.org/Article">
<div class="post-header">
<h1 class="post-title" itemprop="name headline">
Expand Down Expand Up @@ -37,5 +37,5 @@ <h1 class="post-title" itemprop="name headline">
</div>
</div>
</div>
#include('./comments.html')
#include('./footer.html')
#include('./partial/comments.html')
#include('./partial/footer.html')

0 comments on commit 91c5d9d

Please sign in to comment.