jekyll-theme-putih-bersih 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a4ba511df730a9ac19857a609960da75d4ca6b7
4
- data.tar.gz: a80e3cb39a0d4842fa8b33ccca94f605b704f213
3
+ metadata.gz: 0585016f529ad82efe9cbeeabd03c56d3bd0b460
4
+ data.tar.gz: 4916dc28b31aac9fac1efdaeb34994b144e7521a
5
5
  SHA512:
6
- metadata.gz: f8645d827d1508cec56653223f81014e4b2243953f620a900a2a356cf69f1f2aee97e636da9758c9b8ceffc45e63d65d3472daa3ae1bb6810039aadbaefc9155
7
- data.tar.gz: 8f49d53edbeed8ed9f94834a0ec6e976d4ffef58066db5aca86d3cc2288295e969a29a29f7a1a72c9c3af74230cc1d1bc121e0a875dec3d0aad577d099e0de35
6
+ metadata.gz: 787c3f670ae4c41f60aa5c7b65c45adcdfdaaff75e738f81008aacea3df67a2ae3e5ef88ce12376ec3b03b924dec4904202419d3d950a737bd40162fbf44813a
7
+ data.tar.gz: 21cb447eeb36dab79d52852951f6ee25ee17df77d06a6d225cf990fcb9da92e3f32cf0ce5a59b4aa3180f0adb533535c29a4ba97cdf795bbb106491e323ad9ff
@@ -0,0 +1,20 @@
1
+ {% if page.comments != false %}
2
+
3
+ <div id="disqus_thread"></div>
4
+ <script>
5
+ var disqus_config = function () {
6
+ this.page.url = '{{ page.url | absolute_url }}';
7
+ this.page.identifier = '{{ page.url | absolute_url }}';
8
+ };
9
+
10
+ (function() {
11
+ var d = document, s = d.createElement('script');
12
+
13
+ s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
14
+
15
+ s.setAttribute('data-timestamp', +new Date());
16
+ (d.head || d.body).appendChild(s);
17
+ })();
18
+ </script>
19
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
20
+ {% endif %}
@@ -0,0 +1,11 @@
1
+ <script>
2
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
4
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
5
+ })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
6
+
7
+ ga('create', '{{ site.google_analytics }}', 'auto');
8
+ ga('send', 'pageview');
9
+
10
+ </script>
11
+
data/_includes/head.html CHANGED
@@ -1,4 +1,11 @@
1
1
  <head>
2
- <title>{{ site.title }}</title>
2
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
3
+ <meta charset="utf-8">
4
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <meta name="keywords" content="{{ page.meta_keyword | sanitize }}">
7
+ <meta name="description" content="{{ page.meta_description | sanitize }}">
8
+
9
+ <title>{{ site.title | sanitize }}</title>
3
10
  <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
4
11
  </head>
@@ -9,6 +9,7 @@
9
9
  {{ content }}
10
10
  </div>
11
11
  {% include footer.html %}
12
+ {% include google-analytics.html %}
12
13
  </div>
13
14
  </body>
14
15
  </html>
data/_layouts/post.html CHANGED
@@ -6,3 +6,7 @@ layout: default
6
6
  <h2>{{ page.title | escape }}</h2>
7
7
 
8
8
  {{ content }}
9
+
10
+ <div class="comments">
11
+ {% include disqus_comments.html %}
12
+ </div>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-putih-bersih
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wilianto Indrawan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-01 00:00:00.000000000 Z
11
+ date: 2017-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -61,7 +61,9 @@ extra_rdoc_files: []
61
61
  files:
62
62
  - LICENSE.txt
63
63
  - README.md
64
+ - _includes/disqus_comments.html
64
65
  - _includes/footer.html
66
+ - _includes/google-analytics.html
65
67
  - _includes/head.html
66
68
  - _includes/header.html
67
69
  - _includes/navbar.html
@@ -92,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
94
  version: '0'
93
95
  requirements: []
94
96
  rubyforge_project:
95
- rubygems_version: 2.4.1
97
+ rubygems_version: 2.5.1
96
98
  signing_key:
97
99
  specification_version: 4
98
100
  summary: This is a simple jekyll theme. It will make your static site clean and readable.