aemi 1.0.6 → 1.0.7

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
  SHA256:
3
- metadata.gz: e55db58e7ed42d97019bf31a0412128d906e9a2f45612ca15a39e714e22a15a8
4
- data.tar.gz: 5807bb475d12d52eacf56926db9654b495fd7726f1bf30148d79a64172764471
3
+ metadata.gz: f719c449327599a24f0abc01c18edf49bc6c3d86efa200cc1b000c43e17bdba6
4
+ data.tar.gz: cb720e228fd61ccab567220fd795813bb70ed53d4742f6f981d33adef02fe423
5
5
  SHA512:
6
- metadata.gz: cdb130eb6fa8b41ee8d81b019f052c88088bf1475aeccf7bb5c017fafef1894c05fec19e1aaf018b43b37f6f5ef2623d34bb6e4fc59408a49501573c378443c2
7
- data.tar.gz: 51a7c0a24854794ff43c044d0c146b99f472289a6d76452cfb700765d4bb05d2e48f327f0c2bedc84ca8233a1fb730e837644bfa23038b3d04b0a714c666fc2a
6
+ metadata.gz: f17b29fbe94d04401f87ee3483c265cf259d930e5834db71160baff4a2c990d229840ee70bb793abffcdfa7d3dc0be393b211b29cdecf93051d2bb16cafa06ce
7
+ data.tar.gz: 2f1d3990fd89e68e2e0a24b16a65b5f8bb9f1063dbfd1881dfa7dcef76701cf373df9ba2e2069fa468de1803c3e503166a9863b3f848b14de2c4819cea567810
data/_includes/head.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <meta charset="utf-8">
3
3
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1">
5
- {%- include seo.html -%}
5
+ {%- seo -%}
6
6
  <link rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}">
7
7
  {%- feed_meta -%}
8
8
  </head>
data/robots.txt ADDED
@@ -0,0 +1,5 @@
1
+ User-agent: *
2
+ Disallow: /assets/
3
+
4
+ User-agent: *
5
+ Allow: /
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aemi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume C
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 2.8.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: jekyll-sitemap
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 1.4.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 1.4.0
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: webrick
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -80,7 +94,6 @@ files:
80
94
  - _includes/icon-github.svg
81
95
  - _includes/icon-twitter.html
82
96
  - _includes/icon-twitter.svg
83
- - _includes/seo.html
84
97
  - _includes/social.html
85
98
  - _layouts/default.html
86
99
  - _layouts/home.html
@@ -187,6 +200,7 @@ files:
187
200
  - assets/font-files/JetBrainsMono-ThinItalic.woff2
188
201
  - assets/index.html
189
202
  - assets/main.scss
203
+ - robots.txt
190
204
  homepage: https://github.com/aemi-dev/aemi-jekyll-theme
191
205
  licenses:
192
206
  - MIT
data/_includes/seo.html DELETED
@@ -1,125 +0,0 @@
1
- {% if seo_tag.title %}
2
- <title>{{ seo_tag.title }}</title>
3
- {% endif %}
4
-
5
- {% if seo_tag.page_title %}
6
- <meta property="og:title" content="{{ seo_tag.page_title }}" />
7
- {% endif %}
8
-
9
- {% if seo_tag.author.name %}
10
- <meta name="author" content="{{ seo_tag.author.name }}" />
11
- {% endif %}
12
-
13
- <meta property="og:locale" content="{{ seo_tag.page_locale }}" />
14
-
15
- {% if seo_tag.description %}
16
- <meta name="description" content="{{ seo_tag.description }}" />
17
- <meta property="og:description" content="{{ seo_tag.description }}" />
18
- {% endif %}
19
-
20
- {% if site.url %}
21
- <link rel="canonical" href="{{ seo_tag.canonical_url }}" />
22
- <meta property="og:url" content="{{ seo_tag.canonical_url }}" />
23
- {% endif %}
24
-
25
- {% if seo_tag.site_title %}
26
- <meta property="og:site_name" content="{{ seo_tag.site_title }}" />
27
- {% endif %}
28
-
29
- {% if seo_tag.image %}
30
- <meta property="og:image" content="{{ seo_tag.image.path }}" />
31
- {% if seo_tag.image.height %}
32
- <meta property="og:image:height" content="{{ seo_tag.image.height }}" />
33
- {% endif %}
34
- {% if seo_tag.image.width %}
35
- <meta property="og:image:width" content="{{ seo_tag.image.width }}" />
36
- {% endif %}
37
- {% if seo_tag.image.alt %}
38
- <meta property="og:image:alt" content="{{ seo_tag.image.alt }}" />
39
- {% endif %}
40
- {% endif %}
41
-
42
- {% if page.date %}
43
- <meta property="og:type" content="article" />
44
- <meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}" />
45
- {% else %}
46
- <meta property="og:type" content="website" />
47
- {% endif %}
48
-
49
- {% if paginator.previous_page %}
50
- <link rel="prev" href="{{ paginator.previous_page_path | absolute_url }}" />
51
- {% endif %}
52
- {% if paginator.next_page %}
53
- <link rel="next" href="{{ paginator.next_page_path | absolute_url }}" />
54
- {% endif %}
55
-
56
- {% if seo_tag.image %}
57
- <meta name="twitter:card" content="{{ page.twitter.card | default: site.twitter.card | default: 'summary_large_image' }}" />
58
- <meta property="twitter:image" content="{{ seo_tag.image.path }}" />
59
- {% else %}
60
- <meta name="twitter:card" content="summary" />
61
- {% endif %}
62
-
63
- {% if seo_tag.image.alt %}
64
- <meta name="twitter:image:alt" content="{{ seo_tag.image.alt }}" />
65
- {% endif %}
66
-
67
- {% if seo_tag.page_title %}
68
- <meta property="twitter:title" content="{{ seo_tag.page_title }}" />
69
- {% endif %}
70
-
71
- {% if site.twitter %}
72
- <meta name="twitter:site" content="@{{ site.twitter.username | remove:'@' }}" />
73
-
74
- {% if seo_tag.author.twitter %}
75
- <meta name="twitter:creator" content="@{{ seo_tag.author.twitter | remove:'@' }}" />
76
- {% endif %}
77
- {% endif %}
78
-
79
- {% if site.facebook %}
80
- {% if site.facebook.admins %}
81
- <meta property="fb:admins" content="{{ site.facebook.admins }}" />
82
- {% endif %}
83
-
84
- {% if site.facebook.publisher %}
85
- <meta property="article:publisher" content="{{ site.facebook.publisher }}" />
86
- {% endif %}
87
-
88
- {% if site.facebook.app_id %}
89
- <meta property="fb:app_id" content="{{ site.facebook.app_id }}" />
90
- {% endif %}
91
- {% endif %}
92
-
93
- {% if site.webmaster_verifications %}
94
- {% if site.webmaster_verifications.google %}
95
- <meta name="google-site-verification" content="{{ site.webmaster_verifications.google }}" />
96
- {% endif %}
97
-
98
- {% if site.webmaster_verifications.bing %}
99
- <meta name="msvalidate.01" content="{{ site.webmaster_verifications.bing }}" />
100
- {% endif %}
101
-
102
- {% if site.webmaster_verifications.alexa %}
103
- <meta name="alexaVerifyID" content="{{ site.webmaster_verifications.alexa }}" />
104
- {% endif %}
105
-
106
- {% if site.webmaster_verifications.yandex %}
107
- <meta name="yandex-verification" content="{{ site.webmaster_verifications.yandex }}" />
108
- {% endif %}
109
-
110
- {% if site.webmaster_verifications.baidu %}
111
- <meta name="baidu-site-verification" content="{{ site.webmaster_verifications.baidu }}" />
112
- {% endif %}
113
-
114
- {% if site.webmaster_verifications.facebook %}
115
- <meta name="facebook-domain-verification" content="{{ site.webmaster_verifications.facebook }}" />
116
- {% endif %}
117
- {% elsif site.google_site_verification %}
118
- <meta name="google-site-verification" content="{{ site.google_site_verification }}" />
119
- {% endif %}
120
-
121
- {% if seo_tag.json_ld %}
122
- <script type="application/ld+json">
123
- {{ seo_tag.json_ld | jsonify }}
124
- </script>
125
- {% endif %}