jekyll-skeleton 1.4.0 → 1.4.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 +4 -4
- data/README.md +14 -0
- data/_includes/google-analytics.html +3 -0
- 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: cf86f5bb1c79653264218b6d55a959202b136dd6
|
4
|
+
data.tar.gz: 1b6f3ac31ce680fd6e1d9b853da1f19eb867f949
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 002ccfce5f509128340767335a2f905f635ca747cde8bdefd01f0d25be21d9c6b6c761e76087f7168d9f8dedf4c2eaec254025fab5eae266ebe9d3f8fc46c4a6
|
7
|
+
data.tar.gz: 1b50e2de2ab3b34b6ee0a30e5a6e0a8f659777152e20bddeffcd4b8daa527dc7b277387aefe15457193c000310be6af2b799123d173aa22ef19cbbe0a901c57f
|
data/README.md
CHANGED
@@ -36,6 +36,20 @@ It's just a skeleton, after all ;)
|
|
36
36
|
|
37
37
|
You can add custom CSS in `assets/style.css` in your Jekyll site and it'll automatically be included.
|
38
38
|
|
39
|
+
## Google Analytics ##
|
40
|
+
|
41
|
+
This theme has a google analytics helper for page views.
|
42
|
+
All you have to do is add something like the following to your `_config.yml`:
|
43
|
+
|
44
|
+
```
|
45
|
+
google_analytics: "UA-00000000-1"
|
46
|
+
anonymize_ip: true
|
47
|
+
```
|
48
|
+
|
49
|
+
Use whatever your UA code is.
|
50
|
+
The `anonymize_ip` option is to anonymize IP addresses when collecting tracking information.
|
51
|
+
Anonymizing IP information means you don't track any sort of personal data.
|
52
|
+
|
39
53
|
## Adding Related Posts ##
|
40
54
|
|
41
55
|
To list related posts at the end of a post, add the following line to your `_config.yaml`:
|
@@ -3,6 +3,9 @@
|
|
3
3
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
4
4
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
5
5
|
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
6
|
+
{% if site.anonymize_ip %}
|
7
|
+
ga('set', 'anonymizeIp', true);
|
8
|
+
{% endif %}
|
6
9
|
ga('create', '{{ site.google_analytics }}', 'auto');
|
7
10
|
ga('send', 'pageview');
|
8
11
|
</script>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-skeleton
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Wynter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|