jekyll-lenciel-theme 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/after_footer.html +5 -0
- data/_includes/archive_post.html +8 -0
- data/_includes/article.html +29 -0
- data/_includes/asides/delicious.html +8 -0
- data/_includes/asides/github.html +30 -0
- data/_includes/asides/googleplus.html +11 -0
- data/_includes/asides/pinboard.html +19 -0
- data/_includes/asides/recent_posts.html +10 -0
- data/_includes/custom/after_footer.html +14 -0
- data/_includes/custom/asides/about.html +4 -0
- data/_includes/custom/baidu_analytics.html +10 -0
- data/_includes/custom/category_feed.xml +27 -0
- data/_includes/custom/footer.html +7 -0
- data/_includes/custom/head.html +12 -0
- data/_includes/custom/header.html +6 -0
- data/_includes/custom/navigation.html +5 -0
- data/_includes/custom/post/sharing.html +35 -0
- data/_includes/disqus.html +21 -0
- data/_includes/facebook_like.html +10 -0
- data/_includes/footer.html +1 -0
- data/_includes/google_analytics.html +12 -0
- data/_includes/google_plus_one.html +9 -0
- data/_includes/head.html +31 -0
- data/_includes/header.html +1 -0
- data/_includes/navigation.html +15 -0
- data/_includes/post/author.html +8 -0
- data/_includes/post/categories.html +10 -0
- data/_includes/post/date.html +5 -0
- data/_includes/post/disqus_thread.html +1 -0
- data/_includes/post/sharing.html +23 -0
- data/_includes/twitter_sharing.html +11 -0
- data/_layouts/category_index.html +17 -0
- data/assets/jwplayer/glow/controlbar/background.png +0 -0
- data/assets/jwplayer/glow/controlbar/blankButton.png +0 -0
- data/assets/jwplayer/glow/controlbar/divider.png +0 -0
- data/assets/jwplayer/glow/controlbar/fullscreenButton.png +0 -0
- data/assets/jwplayer/glow/controlbar/fullscreenButtonOver.png +0 -0
- data/assets/jwplayer/glow/controlbar/muteButton.png +0 -0
- data/assets/jwplayer/glow/controlbar/muteButtonOver.png +0 -0
- data/assets/jwplayer/glow/controlbar/normalscreenButton.png +0 -0
- data/assets/jwplayer/glow/controlbar/normalscreenButtonOver.png +0 -0
- data/assets/jwplayer/glow/controlbar/pauseButton.png +0 -0
- data/assets/jwplayer/glow/controlbar/pauseButtonOver.png +0 -0
- data/assets/jwplayer/glow/controlbar/playButton.png +0 -0
- data/assets/jwplayer/glow/controlbar/playButtonOver.png +0 -0
- data/assets/jwplayer/glow/controlbar/timeSliderBuffer.png +0 -0
- data/assets/jwplayer/glow/controlbar/timeSliderCapLeft.png +0 -0
- data/assets/jwplayer/glow/controlbar/timeSliderCapRight.png +0 -0
- data/assets/jwplayer/glow/controlbar/timeSliderProgress.png +0 -0
- data/assets/jwplayer/glow/controlbar/timeSliderRail.png +0 -0
- data/assets/jwplayer/glow/controlbar/unmuteButton.png +0 -0
- data/assets/jwplayer/glow/controlbar/unmuteButtonOver.png +0 -0
- data/assets/jwplayer/glow/display/background.png +0 -0
- data/assets/jwplayer/glow/display/bufferIcon.png +0 -0
- data/assets/jwplayer/glow/display/muteIcon.png +0 -0
- data/assets/jwplayer/glow/display/playIcon.png +0 -0
- data/assets/jwplayer/glow/dock/button.png +0 -0
- data/assets/jwplayer/glow/glow.xml +115 -0
- data/assets/jwplayer/glow/playlist/item.png +0 -0
- data/assets/jwplayer/glow/playlist/itemOver.png +0 -0
- data/assets/jwplayer/glow/playlist/sliderCapBottom.png +0 -0
- data/assets/jwplayer/glow/playlist/sliderCapTop.png +0 -0
- data/assets/jwplayer/glow/playlist/sliderRail.png +0 -0
- data/assets/jwplayer/glow/playlist/sliderThumb.png +0 -0
- data/assets/jwplayer/glow/sharing/embedIcon.png +0 -0
- data/assets/jwplayer/glow/sharing/embedScreen.png +0 -0
- data/assets/jwplayer/glow/sharing/shareIcon.png +0 -0
- data/assets/jwplayer/glow/sharing/shareScreen.png +0 -0
- data/assets/jwplayer/player.swf +0 -0
- metadata +70 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 005cfeecea8311d1b838906a314ff95b04808b32
|
4
|
+
data.tar.gz: 12ae0e1319aa053696687af6ddc899d1fff6635c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41e5f1ba5efd1d63f0b6a38c9d3f78c17a91483bc6a4ce8dd588625f4fdada16c97141b376160ea6ae4a1d1eb39354c1ec6a287455e798298a99a4f6d7f22b89
|
7
|
+
data.tar.gz: 2b8f9f68b4d03bd761b38e7fef59decc4f9381dbea11d89e47163dd5e6cd7e813c9d5540e5cccbd5f6670ced41a79cd95fb7ab95871815e3834a7c9fa5b3cc22
|
@@ -0,0 +1,8 @@
|
|
1
|
+
{% capture category %}{{ post.categories | size }}{% endcapture %}
|
2
|
+
<h1><a href="{{ root_url }}{{ post.url }}">{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a></h1>
|
3
|
+
<time datetime="{{ post.date | datetime | date_to_xmlschema }}" pubdate>{{ post.date | date: "<span class='month'>%b</span> <span class='day'>%d</span> <span class='year'>%Y</span>"}}</time>
|
4
|
+
{% if category != '0' %}
|
5
|
+
<footer>
|
6
|
+
<span class="categories">posted in {{ post.categories | category_links }}</span>
|
7
|
+
</footer>
|
8
|
+
{% endif %}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
{% unless page.no_header %}
|
2
|
+
<header>
|
3
|
+
{% if index %}
|
4
|
+
<h1 class="entry-title"><a href="{{ root_url }}{{ post.url }}">{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a></h1>
|
5
|
+
{% else %}
|
6
|
+
<h1 class="entry-title">{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}</h1>
|
7
|
+
{% endif %}
|
8
|
+
{% unless page.meta == false %}
|
9
|
+
<p class="meta">
|
10
|
+
{% include post/date.html %}{{ time }}
|
11
|
+
{% if site.disqus_short_name and page.comments != false and post.comments != false and site.disqus_show_comment_count == true %}
|
12
|
+
| <a href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread"
|
13
|
+
data-disqus-identifier="{% if post.meta.disqus_id %}{{ post.meta.disqus_id }}{% else %}{{ site.url }}{{ post.url }}{% endif %}">Comments</a>
|
14
|
+
{% endif %}
|
15
|
+
</p>
|
16
|
+
{% endunless %}
|
17
|
+
</header>
|
18
|
+
{% endunless %}
|
19
|
+
{% if index %}
|
20
|
+
<div class="entry-content">{{ content | excerpt }}</div>
|
21
|
+
{% capture excerpted %}{{ content | has_excerpt }}{% endcapture %}
|
22
|
+
{% if excerpted == 'true' %}
|
23
|
+
<footer>
|
24
|
+
<a rel="full-article" href="{{ root_url }}{{ post.url }}">{{ site.excerpt_link }}</a>
|
25
|
+
</footer>
|
26
|
+
{% endif %}
|
27
|
+
{% else %}
|
28
|
+
<div class="entry-content">{{ content }}</div>
|
29
|
+
{% endif %}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
{% if site.delicious_user %}
|
2
|
+
<section>
|
3
|
+
<h1>On Delicious</h1>
|
4
|
+
<div id="delicious"></div>
|
5
|
+
<script type="text/javascript" src="http://feeds.delicious.com/v2/json/{{ site.delicious_user }}?count={{ site.delicious_count }}&sort=date&callback=renderDeliciousLinks"></script>
|
6
|
+
<p><a href="http://delicious.com/{{ site.delicious_user }}">My Delicious Bookmarks »</a></p>
|
7
|
+
</section>
|
8
|
+
{% endif %}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
{% if site.github_user %}
|
2
|
+
<section>
|
3
|
+
<h1>GitHub Repos</h1>
|
4
|
+
<ul id="gh_repos">
|
5
|
+
<li class="loading">Status updating...</li>
|
6
|
+
</ul>
|
7
|
+
{% if site.github_show_profile_link %}
|
8
|
+
<a href="https://github.com/{{site.github_user}}">@{{site.github_user}}</a> on GitHub
|
9
|
+
{% endif %}
|
10
|
+
<script type="text/javascript">
|
11
|
+
$(document).ready(function(){
|
12
|
+
if (!window.jXHR){
|
13
|
+
var jxhr = document.createElement('script');
|
14
|
+
jxhr.type = 'text/javascript';
|
15
|
+
jxhr.src = '{{ root_url}}/javascripts/libs/jXHR.js';
|
16
|
+
var s = document.getElementsByTagName('script')[0];
|
17
|
+
s.parentNode.insertBefore(jxhr, s);
|
18
|
+
}
|
19
|
+
|
20
|
+
github.showRepos({
|
21
|
+
user: '{{site.github_user}}',
|
22
|
+
count: {{site.github_repo_count}},
|
23
|
+
skip_forks: {{site.github_skip_forks}},
|
24
|
+
target: '#gh_repos'
|
25
|
+
});
|
26
|
+
});
|
27
|
+
</script>
|
28
|
+
<script src="{{ root_url }}/javascripts/github.js" type="text/javascript"> </script>
|
29
|
+
</section>
|
30
|
+
{% endif %}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{% if site.googleplus_user %}
|
2
|
+
<section class="googleplus{% if site.googleplus_hidden %} googleplus-hidden{% endif %}">
|
3
|
+
<h1>
|
4
|
+
<a href="https://plus.google.com/{{ site.googleplus_user }}?rel=author">
|
5
|
+
<img src="http://www.google.com/images/icons/ui/gprofile_button-32.png" width="32" height="32">
|
6
|
+
Google+
|
7
|
+
</a>
|
8
|
+
</h1>
|
9
|
+
</section>
|
10
|
+
{% endif %}
|
11
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{% if site.pinboard_user %}
|
2
|
+
<section>
|
3
|
+
<h1>My Pinboard</h1>
|
4
|
+
<ul id="pinboard_linkroll">Fetching linkroll...</ul>
|
5
|
+
<p><a href="http://pinboard.in/u:{{ site.pinboard_user }}">My Pinboard Bookmarks »</a></p>
|
6
|
+
</section>
|
7
|
+
<script type="text/javascript">
|
8
|
+
var linkroll = 'pinboard_linkroll'; //id target for pinboard list
|
9
|
+
var pinboard_user = "{{ site.pinboard_user }}"; //id target for pinboard list
|
10
|
+
var pinboard_count = {{ site.pinboard_count }}; //id target for pinboard list
|
11
|
+
(function(){
|
12
|
+
var pinboardInit = document.createElement('script');
|
13
|
+
pinboardInit.type = 'text/javascript';
|
14
|
+
pinboardInit.async = true;
|
15
|
+
pinboardInit.src = '{{ root_url }}/javascripts/pinboard.js';
|
16
|
+
document.getElementsByTagName('head')[0].appendChild(pinboardInit);
|
17
|
+
})();
|
18
|
+
</script>
|
19
|
+
{% endif %}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<section>
|
2
|
+
<h1>Recent Posts</h1>
|
3
|
+
<ul id="recent_posts">
|
4
|
+
{% for post in site.posts limit: site.recent_posts %}
|
5
|
+
<li class="post">
|
6
|
+
<a href="{{ root_url }}{{ post.url }}">{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a>
|
7
|
+
</li>
|
8
|
+
{% endfor %}
|
9
|
+
</ul>
|
10
|
+
</section>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<script type="text/javascript">
|
2
|
+
var stylesheet = document.createElement('link');
|
3
|
+
stylesheet.href = '{{ root_url }}/stylesheets/screen.css';
|
4
|
+
stylesheet.rel = 'stylesheet';
|
5
|
+
stylesheet.type = 'text/css';
|
6
|
+
document.getElementsByTagName('head')[0].appendChild(stylesheet);
|
7
|
+
</script>
|
8
|
+
<script type="text/javascript">
|
9
|
+
var stylesheet = document.createElement('link');
|
10
|
+
stylesheet.href = '{{ root_url }}/stylesheets/data-table.css';
|
11
|
+
stylesheet.rel = 'stylesheet';
|
12
|
+
stylesheet.type = 'text/css';
|
13
|
+
document.getElementsByTagName('head')[0].appendChild(stylesheet);
|
14
|
+
</script>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<script>
|
2
|
+
var _hmt = _hmt || [];
|
3
|
+
(function() {
|
4
|
+
var hm = document.createElement("script");
|
5
|
+
hm.src = "//hm.baidu.com/hm.js?42345b94bf173b38bef61f873677adfa";
|
6
|
+
var s = document.getElementsByTagName("script")[0];
|
7
|
+
s.parentNode.insertBefore(hm, s);
|
8
|
+
})();
|
9
|
+
</script>
|
10
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
---
|
2
|
+
layout: null
|
3
|
+
---
|
4
|
+
<?xml version="1.0" encoding="utf-8"?>
|
5
|
+
<feed xmlns="http://www.w3.org/2005/Atom">
|
6
|
+
|
7
|
+
<title><![CDATA[{% if site.titlecase %}{{ page.title | titlecase | cdata_escape }}{% else %}{{ page.title | cdata_escape }}{% endif %} | {{ site.title | cdata_escape }}]]></title>
|
8
|
+
<link href="{{ site.url }}/{{ page.feed_url }}" rel="self"/>
|
9
|
+
<link href="{{ site.url }}/"/>
|
10
|
+
<updated>{{ site.time | date_to_xmlschema }}</updated>
|
11
|
+
<id>{{ site.url }}/</id>
|
12
|
+
<author>
|
13
|
+
<name><![CDATA[{{ site.author | strip_html }}]]></name>
|
14
|
+
{% if site.email %}<email><![CDATA[{{ site.email }}]]></email>{% endif %}
|
15
|
+
</author>
|
16
|
+
<generator uri="http://octopress.org/">Octopress</generator>
|
17
|
+
|
18
|
+
{% for post in site.categories[page.category] limit: 5 %}
|
19
|
+
<entry>
|
20
|
+
<title type="html"><![CDATA[{% if site.titlecase %}{{ post.title | titlecase | cdata_escape }}{% else %}{{ post.title | cdata_escape }}{% endif %}]]></title>
|
21
|
+
<link href="{{ site.url }}{{ post.url }}"/>
|
22
|
+
<updated>{{ post.date | date_to_xmlschema }}</updated>
|
23
|
+
<id>{{ site.url }}{{ post.id }}</id>
|
24
|
+
<content type="html"><![CDATA[{{ post.content | expand_urls: site.url | markdownify | cdata_escape }}]]></content>
|
25
|
+
</entry>
|
26
|
+
{% endfor %}
|
27
|
+
</feed>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<p>
|
2
|
+
Blog theme: <a href="https://github.com/lenciel/octopress-theme-lenciel">Octopress-Lenciel 0.1</a>
|
3
|
+
<span class="theme-version">Copyright © {{ site.time | date: "%Y" }} - {{ site.author }}</span>
|
4
|
+
<section class="contruction-wrap">
|
5
|
+
<div class="contruction"></div>
|
6
|
+
</section>
|
7
|
+
</p>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{% if page.title %}<meta property="og:title" content="{{ page.title }}" /><meta itemprop="name" content="{{ page.title }}" />{% endif %}
|
2
|
+
<meta property="og:type" content="article" />
|
3
|
+
<meta property="og:url" content="{{ canonical }}" />
|
4
|
+
<meta property="og:description" content="{{ description | strip_html | condense_spaces | truncate:150 }}" />
|
5
|
+
{% if page.ogimage %}<meta property="og:image" content="{{ page.ogimage }}" /><meta itemprop="image" content="{{ page.ogimage }}" />{% endif %}
|
6
|
+
<meta property="og:site_name" content="{{ site.url }}" />
|
7
|
+
<meta property="article:author" content="http://lenciel.com">
|
8
|
+
{% if page.date %}<meta property="article:published_time" content="{{ page.date }}" />{% endif %}
|
9
|
+
{% capture category %}{% if page.categories %}{{ page.categories }}{% endif %}{% endcapture %}
|
10
|
+
{% if page.categories %}<meta property="article:section" content="{{ page.categories }}" />{% endif %}
|
11
|
+
<meta itemprop="description" content="{{ description | strip_html | condense_spaces | truncate:150 }}" />
|
12
|
+
{% if page.keywords %}<meta name="keywords" content="{{ page.keywords }}" />{% for keyword in page.keywords %}<meta property="article:tag" content="{{ keyword | replace: ',', '' }}" />{% endfor %}{% endif %}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
<ul class="main-navigation">
|
2
|
+
<li><a href="{{ root_url }}/"><i class="icon-home"></i>Home</a></li>
|
3
|
+
<li><a href="{{ root_url }}/blog/archives"><i class="icon-book-alt"></i>Archives</a><span class="divider"></span></li>
|
4
|
+
<li><a href="/about"><i class="icon-user"></i>About</a><span class="divider"></span></li>
|
5
|
+
</ul>
|
@@ -0,0 +1,35 @@
|
|
1
|
+
<div class="sharing">
|
2
|
+
{% if site.twitter_tweet_button %}
|
3
|
+
<a href="http://twitter.com/share" class="twitter-share-button" data-url="{{ site.url }}{{ page.url }}"
|
4
|
+
data-via="{{ site.twitter_user }}" data-counturl="{{ site.url }}{{ page.url }}">Tweet</a>
|
5
|
+
{% endif %}
|
6
|
+
{% if site.google_plus_one %}
|
7
|
+
<div class="g-plusone" data-size="{{ site.google_plus_one_size }}"></div>
|
8
|
+
{% endif %}
|
9
|
+
{% if site.facebook_like %}
|
10
|
+
<div class="fb-like" data-send="true" data-width="450" data-show-faces="false"></div>
|
11
|
+
{% endif %}
|
12
|
+
{% if site.weibo_share_button %}
|
13
|
+
<script type="text/javascript" charset="utf-8">
|
14
|
+
(function(){
|
15
|
+
var _w = 72 , _h = 16;
|
16
|
+
var param = {
|
17
|
+
url:location.href,
|
18
|
+
type:'3',
|
19
|
+
count:'1', /**是否显示分享数,1显示(可选)*/
|
20
|
+
appkey:'', /**您申请的应用appkey,显示分享来源(可选)*/
|
21
|
+
title:"{{ site.url }}{{ page.url }}",/**分享的文字内容(可选,默认为所在页面的title)*/
|
22
|
+
pic:'', /**分享图片的路径(可选)*/
|
23
|
+
ralateUid:"{{ site.weibo_user }}", /**关联用户的UID,分享微博会@该用户(可选)*/
|
24
|
+
language:'zh_cn', /**设置语言,zh_cn|zh_tw(可选)*/
|
25
|
+
rnd:new Date().valueOf()
|
26
|
+
}
|
27
|
+
var temp = [];
|
28
|
+
for( var p in param ){
|
29
|
+
temp.push(p + '=' + encodeURIComponent( param[p] || '' ) )
|
30
|
+
}
|
31
|
+
document.write('<iframe allowTransparency="true" frameborder="0" scrolling="no" src="http://hits.sinajs.cn/A1/weiboshare.html?' + temp.join('&') + '" width="'+ _w+'" height="'+_h+'"></iframe>')
|
32
|
+
})()
|
33
|
+
</script>
|
34
|
+
{% endif %}
|
35
|
+
</div>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{% comment %} Load script if disquss comments are enabled and `page.comments` is either empty (index) or set to true {% endcomment %}
|
2
|
+
{% if site.disqus_short_name and page.comments != false %}
|
3
|
+
<script type="text/javascript">
|
4
|
+
var disqus_shortname = '{{ site.disqus_short_name }}';
|
5
|
+
{% if page.comments == true %}
|
6
|
+
{% comment %} `page.comments` can be only be set to true on pages/posts, so we embed the comments here. {% endcomment %}
|
7
|
+
// var disqus_developer = 1;
|
8
|
+
var disqus_identifier = '{{ site.url }}{{ page.url }}';
|
9
|
+
var disqus_url = '{{ site.url }}{{ page.url }}';
|
10
|
+
var disqus_script = 'embed.js';
|
11
|
+
{% else %}
|
12
|
+
{% comment %} As `page.comments` is empty, we must be on the index page. {% endcomment %}
|
13
|
+
var disqus_script = 'count.js';
|
14
|
+
{% endif %}
|
15
|
+
(function () {
|
16
|
+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
17
|
+
dsq.src = '//' + disqus_shortname + '.disqus.com/' + disqus_script;
|
18
|
+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
19
|
+
}());
|
20
|
+
</script>
|
21
|
+
{% endif %}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{% if site.facebook_like %}
|
2
|
+
<div id="fb-root"></div>
|
3
|
+
<script>(function(d, s, id) {
|
4
|
+
var js, fjs = d.getElementsByTagName(s)[0];
|
5
|
+
if (d.getElementById(id)) {return;}
|
6
|
+
js = d.createElement(s); js.id = id; js.async = true;
|
7
|
+
js.src = "//connect.facebook.net/en_US/all.js#appId=212934732101925&xfbml=1";
|
8
|
+
fjs.parentNode.insertBefore(js, fjs);
|
9
|
+
}(document, 'script', 'facebook-jssdk'));</script>
|
10
|
+
{% endif %}
|
@@ -0,0 +1 @@
|
|
1
|
+
{% include custom/footer.html %}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{% if site.google_analytics_tracking_id %}
|
2
|
+
<script>
|
3
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
4
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
5
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
6
|
+
})(window,document,'script','http://lenciel.qiniudn.com/analytics.js','ga');
|
7
|
+
|
8
|
+
ga('create', '{{ site.google_analytics_tracking_id }}', 'auto');
|
9
|
+
ga('send', 'pageview');
|
10
|
+
|
11
|
+
</script>
|
12
|
+
{% endif %}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
{% if site.google_plus_one %}
|
2
|
+
<script type="text/javascript">
|
3
|
+
(function() {
|
4
|
+
var script = document.createElement('script'); script.type = 'text/javascript'; script.async = true;
|
5
|
+
script.src = 'https://apis.google.com/js/plusone.js';
|
6
|
+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(script, s);
|
7
|
+
})();
|
8
|
+
</script>
|
9
|
+
{% endif %}
|
data/_includes/head.html
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]-->
|
3
|
+
<!--[if lt IE 9]><html class="no-js lte-ie8"><![endif]-->
|
4
|
+
<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
|
5
|
+
<head>
|
6
|
+
<meta charset="utf-8">
|
7
|
+
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title>
|
8
|
+
<meta name="author" content="{{ site.author }}">
|
9
|
+
|
10
|
+
{% capture description %}{% if page.description %}{{ page.description }}{% else %}{{ content | raw_content }}{% endif %}{% endcapture %}
|
11
|
+
<meta name="description" content="{{ description | strip_html | condense_spaces | truncate:150 }}">
|
12
|
+
{% if page.keywords %}<meta name="keywords" content="{{ page.keywords }}">{% endif %}
|
13
|
+
|
14
|
+
<!-- http://t.co/dKP3o1e -->
|
15
|
+
<meta name="HandheldFriendly" content="True">
|
16
|
+
<meta name="MobileOptimized" content="320">
|
17
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
18
|
+
|
19
|
+
{% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
|
20
|
+
<link rel="canonical" href="{{ canonical }}">
|
21
|
+
<link href="{{ root_url }}/favicon.png" rel="icon">
|
22
|
+
<link href="{{ root_url }}/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
|
23
|
+
<script src="{{ root_url }}/javascripts/libs/modernizr.custom.55630.js"></script>
|
24
|
+
<script src="{{ root_url }}/javascripts/ender.js"></script>
|
25
|
+
<script src="{{ root_url }}/javascripts/libs/jquery.min.js"></script>
|
26
|
+
<script src="{{ root_url }}/javascripts/octopress.js" type="text/javascript"></script>
|
27
|
+
<link href="{{ site.subscribe_rss }}" rel="alternate" title="{{site.title}}" type="application/atom+xml">
|
28
|
+
{% include custom/head.html %}
|
29
|
+
{% include custom/baidu_analytics.html %}
|
30
|
+
{% include google_analytics.html %}
|
31
|
+
</head>
|
@@ -0,0 +1 @@
|
|
1
|
+
{% include custom/header.html %}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<ul class="subscription" data-subscription="rss{% if site.subscribe_email %} email{% endif %}">
|
2
|
+
<li><a href="{{ site.subscribe_rss }}" rel="subscribe-rss" title="subscribe via RSS">RSS</a></li>
|
3
|
+
{% if site.subscribe_email %}
|
4
|
+
<li><a href="{{ site.subscribe_email }}" rel="subscribe-email" title="subscribe via email">Email</a></li>
|
5
|
+
{% endif %}
|
6
|
+
</ul>
|
7
|
+
{% if site.simple_search %}
|
8
|
+
<form action="{{ site.simple_search }}" method="get">
|
9
|
+
<fieldset role="search">
|
10
|
+
<input type="hidden" name="sitesearch" value="{{ site.url | shorthand_url }}">
|
11
|
+
<input class="search" type="text" name="q" results="0" placeholder="Search"/>
|
12
|
+
</fieldset>
|
13
|
+
</form>
|
14
|
+
{% endif %}
|
15
|
+
{% include custom/navigation.html %}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
{% if post.author %}
|
2
|
+
{% assign author = post.author %}
|
3
|
+
{% elsif page.author %}
|
4
|
+
{% assign author = page.author %}
|
5
|
+
{% else %}
|
6
|
+
{% assign author = site.author %}
|
7
|
+
{% endif %}
|
8
|
+
{% if author %}<span class="byline author vcard">Posted by <span class="fn">{{ author }}</span></span>{% endif %}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{% capture category %}{% if post %}{{ post.categories | category_links | size }}{% else %}{{ page.categories | category_links | size }}{% endif %}{% endcapture %}
|
2
|
+
{% unless category == '0' %}
|
3
|
+
<span class="categories">
|
4
|
+
{% if post %}
|
5
|
+
{{ post.categories | category_links }}
|
6
|
+
{% else %}
|
7
|
+
{{ page.categories | category_links }}
|
8
|
+
{% endif %}
|
9
|
+
</span>
|
10
|
+
{% endunless %}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
{% if page.date %}{% capture time %}{{ page.date_time_html }}{% endcapture %}{% endif %}
|
2
|
+
{% if post.date %}{% capture time %}{{ post.date_time_html }}{% endcapture %}{% endif %}
|
3
|
+
|
4
|
+
{% if page.updated %}{% capture updated %}{{ page.date_time_updated_html }}{% endcapture %}{% endif %}
|
5
|
+
{% if post.updated %}{% capture updated %}{{ post.date_time_updated_html }}{% endcapture %}{% endif %}
|
@@ -0,0 +1 @@
|
|
1
|
+
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<div class="sharing">
|
2
|
+
{% if site.twitter_tweet_button %}
|
3
|
+
<a href="//twitter.com/share" class="twitter-share-button" data-url="{{ site.url }}{{ page.url }}" data-via="{{ site.twitter_user }}" data-counturl="{{ site.url }}{{ page.url }}" >Tweet</a>
|
4
|
+
{% endif %}
|
5
|
+
{% if site.google_plus_one %}
|
6
|
+
<div class="g-plusone" data-size="{{ site.google_plus_one_size }}"></div>
|
7
|
+
{% endif %}
|
8
|
+
{% if site.facebook_like %}
|
9
|
+
<div class="fb-like" data-send="true" data-width="450" data-show-faces="false"></div>
|
10
|
+
{% endif %}
|
11
|
+
<!-- JiaThis Button BEGIN -->
|
12
|
+
<!--<div class="jiathis_style_24x24">
|
13
|
+
<a class="jiathis_button_qzone"></a>
|
14
|
+
<a class="jiathis_button_tsina"></a>
|
15
|
+
<a class="jiathis_button_tqq"></a>
|
16
|
+
<a class="jiathis_button_weixin"></a>
|
17
|
+
<a class="jiathis_button_renren"></a>
|
18
|
+
<a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
|
19
|
+
<a class="jiathis_counter_style"></a>
|
20
|
+
</div>
|
21
|
+
<script type="text/javascript" src="http://v3.jiathis.com/code/jia.js" charset="utf-8"></script>-->
|
22
|
+
<!-- JiaThis Button END -->
|
23
|
+
</div>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{% if site.twitter_follow_button or site.twitter_tweet_button %}
|
2
|
+
<script type="text/javascript">
|
3
|
+
(function(){
|
4
|
+
var twitterWidgets = document.createElement('script');
|
5
|
+
twitterWidgets.type = 'text/javascript';
|
6
|
+
twitterWidgets.async = true;
|
7
|
+
twitterWidgets.src = '//platform.twitter.com/widgets.js';
|
8
|
+
document.getElementsByTagName('head')[0].appendChild(twitterWidgets);
|
9
|
+
})();
|
10
|
+
</script>
|
11
|
+
{% endif %}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
footer: false
|
4
|
+
---
|
5
|
+
|
6
|
+
<div id="blog-archives" class="category">
|
7
|
+
{% for post in site.categories[page.category] %}
|
8
|
+
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
|
9
|
+
{% unless year == this_year %}
|
10
|
+
{% assign year = this_year %}
|
11
|
+
<h2>{{ year }}</h2>
|
12
|
+
{% endunless %}
|
13
|
+
<article>
|
14
|
+
{% include archive_post.html %}
|
15
|
+
</article>
|
16
|
+
{% endfor %}
|
17
|
+
</div>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,115 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<skin version="1.1" name="Glow" author="LongTail Video">
|
3
|
+
|
4
|
+
<settings>
|
5
|
+
<setting name="backcolor" value="0x000000" />
|
6
|
+
<setting name="frontcolor" value="0xeeeeee" />
|
7
|
+
<setting name="lightcolor" value="0xeeeeee" />
|
8
|
+
<setting name="screencolor" value="0x000000" />
|
9
|
+
</settings>
|
10
|
+
|
11
|
+
<components>
|
12
|
+
<component name="controlbar">
|
13
|
+
<settings>
|
14
|
+
<setting name="margin" value="0" />
|
15
|
+
<setting name="fontsize" value="11" />
|
16
|
+
<setting name="fontcolor" value="0xEEEEEE" />
|
17
|
+
<setting name="buttoncolor" value="0xEEEEEE" />
|
18
|
+
</settings>
|
19
|
+
|
20
|
+
<layout>
|
21
|
+
<group position="left">
|
22
|
+
<button name="play" />
|
23
|
+
<text name="elapsed" />
|
24
|
+
</group>
|
25
|
+
<group position="center">
|
26
|
+
<slider name="time" />
|
27
|
+
</group>
|
28
|
+
<group position="right">
|
29
|
+
<text name="duration" />
|
30
|
+
<button name="blank" />
|
31
|
+
<button name="mute" />
|
32
|
+
<button name="fullscreen" />
|
33
|
+
</group>
|
34
|
+
</layout>
|
35
|
+
|
36
|
+
<elements>
|
37
|
+
<element name="background" src="background.png" />
|
38
|
+
<element name="capLeft" src="divider.png" />
|
39
|
+
<element name="capRight" src="divider.png" />
|
40
|
+
<element name="divider" src="divider.png" />
|
41
|
+
<element name="blankButton" src="blankButton.png" />
|
42
|
+
<element name="fullscreenButton" src="fullscreenButton.png" />
|
43
|
+
<element name="fullscreenButtonOver" src="fullscreenButtonOver.png" />
|
44
|
+
<element name="muteButton" src="muteButton.png" />
|
45
|
+
<element name="muteButtonOver" src="muteButtonOver.png" />
|
46
|
+
<element name="pauseButton" src="pauseButton.png" />
|
47
|
+
<element name="pauseButtonOver" src="pauseButtonOver.png" />
|
48
|
+
<element name="playButton" src="playButton.png" />
|
49
|
+
<element name="playButtonOver" src="playButtonOver.png" />
|
50
|
+
<element name="timeSliderBuffer" src="timeSliderBuffer.png" />
|
51
|
+
<element name="timeSliderCapLeft" src="timeSliderCapLeft.png" />
|
52
|
+
<element name="timeSliderCapRight" src="timeSliderCapRight.png" />
|
53
|
+
<element name="timeSliderProgress" src="timeSliderProgress.png" />
|
54
|
+
<element name="timeSliderRail" src="timeSliderRail.png" />
|
55
|
+
<element name="normalscreenButton" src="normalscreenButton.png" />
|
56
|
+
<element name="normalscreenButtonOver" src="normalscreenButtonOver.png" />
|
57
|
+
<element name="unmuteButton" src="unmuteButton.png" />
|
58
|
+
<element name="unmuteButtonOver" src="unmuteButtonOver.png" />
|
59
|
+
<element name="volumeSliderRail" src="divider.png" />
|
60
|
+
<element name="volumeSliderProgress" src="divider.png" />
|
61
|
+
</elements>
|
62
|
+
</component>
|
63
|
+
|
64
|
+
<component name="display">
|
65
|
+
<settings>
|
66
|
+
<setting name="bufferinterval" value="250" />
|
67
|
+
<setting name="bufferrotation" value="90" />
|
68
|
+
</settings>
|
69
|
+
<elements>
|
70
|
+
<element name="background" src="background.png" />
|
71
|
+
<element name="playIcon" src="playIcon.png" />
|
72
|
+
<element name="muteIcon" src="muteIcon.png" />
|
73
|
+
<element name="errorIcon" src="bufferIcon.png" />
|
74
|
+
<element name="bufferIcon" src="bufferIcon.png" />
|
75
|
+
</elements>
|
76
|
+
</component>
|
77
|
+
|
78
|
+
<component name="dock">
|
79
|
+
<settings>
|
80
|
+
<setting name="fontcolor" value="0xFFFFFF" />
|
81
|
+
</settings>
|
82
|
+
<elements>
|
83
|
+
<element name="button" src="button.png" />
|
84
|
+
</elements>
|
85
|
+
</component>
|
86
|
+
|
87
|
+
<component name="playlist">
|
88
|
+
<settings>
|
89
|
+
<setting name="fontcolor" value="0xEEEEEE" />
|
90
|
+
<setting name="overcolor" value="0xFFFFFF" />
|
91
|
+
<setting name="activecolor" value="0xFFFFFF" />
|
92
|
+
<setting name="backgroundcolor" value="0x333333" />
|
93
|
+
</settings>
|
94
|
+
<elements>
|
95
|
+
<element name="item" src="item.png" />
|
96
|
+
<element name="itemOver" src="itemOver.png" />
|
97
|
+
<element name="sliderCapBottom" src="sliderCapBottom.png" />
|
98
|
+
<element name="sliderCapTop" src="sliderCapTop.png" />
|
99
|
+
<element name="sliderRail" src="sliderRail.png" />
|
100
|
+
<element name="sliderThumb" src="sliderThumb.png" />
|
101
|
+
</elements>
|
102
|
+
</component>
|
103
|
+
|
104
|
+
<component name="sharing">
|
105
|
+
<elements>
|
106
|
+
<element name="embedIcon" src="embedIcon.png" />
|
107
|
+
<element name="embedScreen" src="embedScreen.png" />
|
108
|
+
<element name="shareIcon" src="shareIcon.png" />
|
109
|
+
<element name="shareScreen" src="shareScreen.png" />
|
110
|
+
</elements>
|
111
|
+
</component>
|
112
|
+
|
113
|
+
</components>
|
114
|
+
|
115
|
+
</skin>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-lenciel-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lenciel
|
@@ -61,9 +61,78 @@ extra_rdoc_files: []
|
|
61
61
|
files:
|
62
62
|
- LICENSE.txt
|
63
63
|
- README.md
|
64
|
+
- _includes/after_footer.html
|
65
|
+
- _includes/archive_post.html
|
66
|
+
- _includes/article.html
|
67
|
+
- _includes/asides/delicious.html
|
68
|
+
- _includes/asides/github.html
|
69
|
+
- _includes/asides/googleplus.html
|
70
|
+
- _includes/asides/pinboard.html
|
71
|
+
- _includes/asides/recent_posts.html
|
72
|
+
- _includes/custom/after_footer.html
|
73
|
+
- _includes/custom/asides/about.html
|
74
|
+
- _includes/custom/baidu_analytics.html
|
75
|
+
- _includes/custom/category_feed.xml
|
76
|
+
- _includes/custom/footer.html
|
77
|
+
- _includes/custom/head.html
|
78
|
+
- _includes/custom/header.html
|
79
|
+
- _includes/custom/navigation.html
|
80
|
+
- _includes/custom/post/sharing.html
|
81
|
+
- _includes/disqus.html
|
82
|
+
- _includes/facebook_like.html
|
83
|
+
- _includes/footer.html
|
84
|
+
- _includes/google_analytics.html
|
85
|
+
- _includes/google_plus_one.html
|
86
|
+
- _includes/head.html
|
87
|
+
- _includes/header.html
|
88
|
+
- _includes/navigation.html
|
89
|
+
- _includes/post/author.html
|
90
|
+
- _includes/post/categories.html
|
91
|
+
- _includes/post/date.html
|
92
|
+
- _includes/post/disqus_thread.html
|
93
|
+
- _includes/post/sharing.html
|
94
|
+
- _includes/twitter_sharing.html
|
95
|
+
- _layouts/category_index.html
|
64
96
|
- _layouts/default.html
|
65
97
|
- _layouts/page.html
|
66
98
|
- _layouts/post.html
|
99
|
+
- assets/jwplayer/glow/controlbar/background.png
|
100
|
+
- assets/jwplayer/glow/controlbar/blankButton.png
|
101
|
+
- assets/jwplayer/glow/controlbar/divider.png
|
102
|
+
- assets/jwplayer/glow/controlbar/fullscreenButton.png
|
103
|
+
- assets/jwplayer/glow/controlbar/fullscreenButtonOver.png
|
104
|
+
- assets/jwplayer/glow/controlbar/muteButton.png
|
105
|
+
- assets/jwplayer/glow/controlbar/muteButtonOver.png
|
106
|
+
- assets/jwplayer/glow/controlbar/normalscreenButton.png
|
107
|
+
- assets/jwplayer/glow/controlbar/normalscreenButtonOver.png
|
108
|
+
- assets/jwplayer/glow/controlbar/pauseButton.png
|
109
|
+
- assets/jwplayer/glow/controlbar/pauseButtonOver.png
|
110
|
+
- assets/jwplayer/glow/controlbar/playButton.png
|
111
|
+
- assets/jwplayer/glow/controlbar/playButtonOver.png
|
112
|
+
- assets/jwplayer/glow/controlbar/timeSliderBuffer.png
|
113
|
+
- assets/jwplayer/glow/controlbar/timeSliderCapLeft.png
|
114
|
+
- assets/jwplayer/glow/controlbar/timeSliderCapRight.png
|
115
|
+
- assets/jwplayer/glow/controlbar/timeSliderProgress.png
|
116
|
+
- assets/jwplayer/glow/controlbar/timeSliderRail.png
|
117
|
+
- assets/jwplayer/glow/controlbar/unmuteButton.png
|
118
|
+
- assets/jwplayer/glow/controlbar/unmuteButtonOver.png
|
119
|
+
- assets/jwplayer/glow/display/background.png
|
120
|
+
- assets/jwplayer/glow/display/bufferIcon.png
|
121
|
+
- assets/jwplayer/glow/display/muteIcon.png
|
122
|
+
- assets/jwplayer/glow/display/playIcon.png
|
123
|
+
- assets/jwplayer/glow/dock/button.png
|
124
|
+
- assets/jwplayer/glow/glow.xml
|
125
|
+
- assets/jwplayer/glow/playlist/item.png
|
126
|
+
- assets/jwplayer/glow/playlist/itemOver.png
|
127
|
+
- assets/jwplayer/glow/playlist/sliderCapBottom.png
|
128
|
+
- assets/jwplayer/glow/playlist/sliderCapTop.png
|
129
|
+
- assets/jwplayer/glow/playlist/sliderRail.png
|
130
|
+
- assets/jwplayer/glow/playlist/sliderThumb.png
|
131
|
+
- assets/jwplayer/glow/sharing/embedIcon.png
|
132
|
+
- assets/jwplayer/glow/sharing/embedScreen.png
|
133
|
+
- assets/jwplayer/glow/sharing/shareIcon.png
|
134
|
+
- assets/jwplayer/glow/sharing/shareScreen.png
|
135
|
+
- assets/jwplayer/player.swf
|
67
136
|
homepage: ''
|
68
137
|
licenses:
|
69
138
|
- MIT
|