This repository has been archived by the owner on Jun 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from charsdavy/master
添加多说评论和about页面,详见说明
- Loading branch information
Showing
9 changed files
with
113 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
title: "" | ||
layout: "about" | ||
--- | ||
|
||
<!--使用markdown填写自己的about信息--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<article id="<%= post.layout %>-<%= post.slug %>" class="article article-type-<%= post.layout %>" itemscope itemprop="blogPost"> | ||
<div class="article-inner"> | ||
<%- partial('post/gallery') %> | ||
<% if (post.link || post.title){ %> | ||
<header class="article-header"> | ||
<%- partial('post/title', {class_name: 'article-title'}) %> | ||
</header> | ||
<% } %> | ||
<div class="article-entry" itemprop="articleBody"> | ||
<% if (post.excerpt && index){ %> | ||
<%- post.excerpt %> | ||
<% if (theme.excerpt_link){ %> | ||
<p class="article-more-link"> | ||
<a href="<%- url_for(post.path) %>#more"><%= theme.excerpt_link %></a> | ||
</p> | ||
<% } %> | ||
<% } else { %> | ||
<%- post.content %> | ||
<% } %> | ||
</div> | ||
<% if (!index && theme.toc && toc(post.content)) { %> | ||
<div class="article-toc"> | ||
<h3><%= __('article.contents') %></h3> | ||
<%- toc(post.content) %> | ||
</div> | ||
<% } %> | ||
<% if (!index || post.tags.length){ %> | ||
<footer class="article-footer"> | ||
<%- partial('post/tag') %> | ||
</footer> | ||
<% } %> | ||
</div> | ||
<% if (!index){ %> | ||
<%- partial('post/nav') %> | ||
<% } %> | ||
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<div class="share_addthis"> | ||
<div class="sharing addthis_toolbox share"> | ||
<a class="addthis_button_facebook_like"></a> | ||
<a class="addthis_button_tweet"></a> | ||
<a class="addthis_button_google_plusone" g:plusone:size="medium"></a> | ||
<a class="addthis_counter addthis_pill_style"></a> | ||
</div> | ||
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-560c64c35486b3d4" async="async"></script> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<div class="share_jia"> | ||
<!-- JiaThis Button BEGIN --> | ||
<div class="jiathis_style"> | ||
<span class="jiathis_txt"><%= __('post.share') %>: </span> | ||
<a class="jiathis_button_facebook"></a> | ||
<a class="jiathis_button_twitter"></a> | ||
<a class="jiathis_button_plus"></a> | ||
<a class="jiathis_button_tsina"></a> | ||
<a class="jiathis_button_cqq"></a> | ||
<a class="jiathis_button_douban"></a> | ||
<a class="jiathis_button_weixin"></a> | ||
<a class="jiathis_button_tumblr"></a> | ||
<a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a> | ||
</div> | ||
<script type="text/javascript" src="http://v3.jiathis.com/code/jia.js?uid=1405949716054953" charset="utf-8"></script> | ||
<!-- JiaThis Button END --> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<%- partial('_partial/about-page', {post: page, index: false}) %> |