jekyll-theme-eventually 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +18 -0
- data/_includes/google-analytics.html +9 -0
- data/_includes/head.html +4 -1
- data/_includes/signup-form.html +1 -0
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 162e5ea896401e8593ed751be367cb4b951c61dc67f63cf90da9d338d87169b6
|
4
|
+
data.tar.gz: 83f5fc8e04ddd464277d0ce5630fab5217045f8516faf9a5476dbcbd7a1e3ff9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f21c91007f893103289a4517086e6ed4136a7759a8ee8f6ae1acbf1eeb8e4d1e4e16e9ce8762f1d95405cea3c3814763c522347ca2b448ddbee32070a9f92f86
|
7
|
+
data.tar.gz: a504aeaca2c10ba31a5a13f463e440cced20895ff9a877c8f7ac71be1c27a925e6d172c2e649115dc3204ec0316444102faded35c75d321387d7da307bc085dc
|
data/README.md
CHANGED
@@ -26,6 +26,8 @@ Or install it yourself as:
|
|
26
26
|
|
27
27
|
## Usage
|
28
28
|
|
29
|
+
### Enabling MailChimp
|
30
|
+
|
29
31
|
This Jekyll theme supports [MailChimp](https://mailchimp.com).
|
30
32
|
|
31
33
|
In order to use this, you must provide your User ID and List ID from MailChimp inside `_config.yml`:
|
@@ -35,6 +37,22 @@ mailchimp_userid: abcd123
|
|
35
37
|
mailchimp_listid: abcd123
|
36
38
|
```
|
37
39
|
|
40
|
+
### Enabling Google Analytics
|
41
|
+
|
42
|
+
To enable Google Analytics, add the following lines to your `_config.yml`:
|
43
|
+
|
44
|
+
```
|
45
|
+
google_analytics: UA-NNNNNNNN-N
|
46
|
+
```
|
47
|
+
|
48
|
+
Google Analytics will only appear in production, i.e., `JEKYLL_ENV=production`.
|
49
|
+
|
50
|
+
### Jekyll SEO
|
51
|
+
|
52
|
+
This theme supports [Jekyll SEO](https://jekyll.github.io/jekyll-seo-tag).
|
53
|
+
|
54
|
+
For instructions on how to use this plugin, go to their [Usage Guide](https://jekyll.github.io/jekyll-seo-tag/usage/).
|
55
|
+
|
38
56
|
## Contributing
|
39
57
|
|
40
58
|
Bug reports and pull requests are welcome on GitHub at https://github.com/terenceponce/jekyll-theme-eventually. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<!-- Global site tag (gtag.js) - Google Analytics -->
|
2
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
|
3
|
+
<script>
|
4
|
+
window.dataLayer = window.dataLayer || [];
|
5
|
+
function gtag(){dataLayer.push(arguments);}
|
6
|
+
gtag('js', new Date());
|
7
|
+
|
8
|
+
gtag('config', '{{ site.google_analytics }}');
|
9
|
+
</script>
|
data/_includes/head.html
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
<head>
|
2
|
-
|
2
|
+
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
3
|
+
{%- include google-analytics.html -%}
|
4
|
+
{%- endif -%}
|
3
5
|
<meta charset="utf-8" />
|
4
6
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
5
7
|
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
8
|
+
{% seo %}
|
6
9
|
</head>
|
data/_includes/signup-form.html
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
<p>Sign up to our newsletter so you can be the first to know when we launch.</p>
|
1
2
|
<form id="signup-form" method="post" action="https://xyz.us19.list-manage.com/subscribe/post?u={{ site.mailchimp_userid }}&id={{ site.mailchimp_listid }}" novalidate>
|
2
3
|
<input type="email" name="EMAIL" id="mce-EMAIL" placeholder="Email Address" required />
|
3
4
|
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_217e046736397576c90f9357c_4f1044d02e" tabindex="-1" value=""></div>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-eventually
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Terence Ponce
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.8'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jekyll-seo-tag
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.5'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.5'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: bundler
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -62,6 +76,7 @@ files:
|
|
62
76
|
- LICENSE.txt
|
63
77
|
- README.md
|
64
78
|
- _includes/footer.html
|
79
|
+
- _includes/google-analytics.html
|
65
80
|
- _includes/head.html
|
66
81
|
- _includes/header.html
|
67
82
|
- _includes/signup-form.html
|