jekyll-seo-tag 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-seo-tag/version.rb +1 -1
- data/lib/template.html +20 -7
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59faf9298ad2055092eb2b9b771ec052e09d9a85
|
4
|
+
data.tar.gz: 3b9bcf03366b9a98ff88b8e4a483cbf5dc35e80f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 181f5bf7435df0c4a08440f2a0cadeffa7196e2f1f5ca35b4bc242629f8156780a0cef88f48db48380cb711d6d8a4d9f4f44d7ee009b9a24234c9c7c5efb4144
|
7
|
+
data.tar.gz: 9b0cea7232186d07aa61497e8fc4d4b0301ce85de89773957b63f814e22589051df5122a46c97bd99089ad6067592e65c48bbdee97075b31919c9a01c2626725
|
data/lib/template.html
CHANGED
@@ -84,6 +84,14 @@
|
|
84
84
|
{% assign seo_links = site.social.links %}
|
85
85
|
{% endif %}
|
86
86
|
|
87
|
+
{% if site.logo %}
|
88
|
+
{% assign seo_site_logo = site.logo | prepend: seo_url | escape %}
|
89
|
+
{% endif %}
|
90
|
+
|
91
|
+
{% if page.image %}
|
92
|
+
{% assign seo_page_image = page.image | prepend: seo_url | escape %}
|
93
|
+
{% endif %}
|
94
|
+
|
87
95
|
{% if seo_tag.title and seo_title %}
|
88
96
|
<title>{{ seo_title }}</title>
|
89
97
|
{% endif %}
|
@@ -106,8 +114,8 @@
|
|
106
114
|
<meta property="og:site_name" content="{{ seo_site_title }}" />
|
107
115
|
{% endif %}
|
108
116
|
|
109
|
-
{% if
|
110
|
-
<meta property="og:image" content="{{
|
117
|
+
{% if seo_page_image %}
|
118
|
+
<meta property="og:image" content="{{ seo_page_image }}" />
|
111
119
|
{% endif %}
|
112
120
|
|
113
121
|
{% if page.date %}
|
@@ -124,7 +132,12 @@
|
|
124
132
|
{% endif %}
|
125
133
|
|
126
134
|
{% if site.twitter %}
|
127
|
-
|
135
|
+
{% if seo_page_image %}
|
136
|
+
<meta name="twitter:card" content="summary_large_image" />
|
137
|
+
{% else %}
|
138
|
+
<meta name="twitter:card" content="summary" />
|
139
|
+
{% endif %}
|
140
|
+
|
128
141
|
<meta name="twitter:site" content="@{{ site.twitter.username | replace:"@","" }}" />
|
129
142
|
|
130
143
|
{% if seo_author_twitter %}
|
@@ -162,8 +175,8 @@
|
|
162
175
|
"headline": {{ seo_page_title | jsonify }},
|
163
176
|
{% endif %}
|
164
177
|
|
165
|
-
{% if
|
166
|
-
"image": {{
|
178
|
+
{% if seo_page_image %}
|
179
|
+
"image": {{ seo_page_image | jsonify }},
|
167
180
|
{% endif %}
|
168
181
|
|
169
182
|
{% if page.date %}
|
@@ -174,8 +187,8 @@
|
|
174
187
|
"description": {{ seo_description | jsonify }},
|
175
188
|
{% endif %}
|
176
189
|
|
177
|
-
{% if
|
178
|
-
"logo": {{
|
190
|
+
{% if seo_site_logo %}
|
191
|
+
"logo": {{ seo_site_logo | jsonify }},
|
179
192
|
{% endif %}
|
180
193
|
|
181
194
|
{% if seo_links %}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-seo-tag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Balter
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
version: '0'
|
139
139
|
requirements: []
|
140
140
|
rubyforge_project:
|
141
|
-
rubygems_version: 2.6.
|
141
|
+
rubygems_version: 2.6.2
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: A Jekyll plugin to add metadata tags for search engines and social networks
|