jekyll-lenciel-theme 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/_includes/article.html +5 -1
- data/_includes/custom/baidu_analytics.html +2 -1
- data/_includes/google_analytics.html +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 025e210edcd58a799334d1b3fb9f3b5cd2aca1cf
|
4
|
+
data.tar.gz: 9f20f068cf32b3b3a501fffdc73057222d4c83bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6931043d14b5f109b0524c61caeb7ae3fec3fc002df06dc1c409285242b38d3ecb05d2f3b96bff07c21d6dd326e5fe9297cd890dd2cb040059c8326738c965ef
|
7
|
+
data.tar.gz: ec3a688f4151fe558785dabb7a7f2fa93d420588ea6decf130674d85a7b5752061b3e0663bc46a46d36c6308deddf11ebb28d32cfb3e5df7eb0d058fb22ec6cd
|
data/README.md
CHANGED
@@ -42,8 +42,11 @@ Your theme is setup just like a normal Jekyll site! To test your theme, run `bun
|
|
42
42
|
|
43
43
|
When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
|
44
44
|
|
45
|
+
Build the gem and push it to rubygems site:
|
46
|
+
|
45
47
|
`gem build jekyll-lenciel-theme.gemspec`
|
46
48
|
`gem push jekyll-lenciel-theme-*.gem`
|
49
|
+
|
47
50
|
## License
|
48
51
|
|
49
52
|
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/_includes/article.html
CHANGED
@@ -7,7 +7,11 @@
|
|
7
7
|
{% endif %}
|
8
8
|
{% unless page.meta == false %}
|
9
9
|
<p class="meta">
|
10
|
-
{% include post/date.html %}{{ time }}
|
10
|
+
<!--{% include post/date.html %}{{ time }}-->
|
11
|
+
<time class='entry-date' datetime='{{ post.date | date_xmlschema }}'>
|
12
|
+
<span class='date'>{{ post.date | date: "%Y-%m-%d" }}</span>
|
13
|
+
<span class='time'>{{ post.date | date: '%H:%M:%S' }}</span>
|
14
|
+
</time>
|
11
15
|
{% if site.disqus_short_name and page.comments != false and post.comments != false and site.disqus_show_comment_count == true %}
|
12
16
|
| <a href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread"
|
13
17
|
data-disqus-identifier="{% if post.meta.disqus_id %}{{ post.meta.disqus_id }}{% else %}{{ site.url }}{{ post.url }}{% endif %}">Comments</a>
|
@@ -2,9 +2,10 @@
|
|
2
2
|
var _hmt = _hmt || [];
|
3
3
|
(function() {
|
4
4
|
var hm = document.createElement("script");
|
5
|
-
hm.src = "
|
5
|
+
hm.src = "https://hm.baidu.com/hm.js?2f0a0a00f439ab96a80a199638ef8594";
|
6
6
|
var s = document.getElementsByTagName("script")[0];
|
7
7
|
s.parentNode.insertBefore(hm, s);
|
8
8
|
})();
|
9
9
|
</script>
|
10
10
|
|
11
|
+
|
@@ -1,12 +1,12 @@
|
|
1
1
|
{% if site.google_analytics_tracking_id %}
|
2
2
|
<script>
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
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','https://www.google-analytics.com/analytics.js','ga');
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
ga('create', '{{ site.google_analytics_tracking_id }}', 'auto');
|
9
|
+
ga('send', 'pageview');
|
10
10
|
|
11
11
|
</script>
|
12
12
|
{% endif %}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-lenciel-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lenciel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|