jekyll-theme-mehdix-rtl 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/head.html +25 -17
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c04ba855a2925eea69b646997b4a278dae880700
4
- data.tar.gz: 79927f0ae37dd0e54c6ac4a56ef1a0646417998b
3
+ metadata.gz: ba2f1389599fb17f272293aeb6841de71bcb8042
4
+ data.tar.gz: c32a9fe00b6918ff366ac5cad53b4b3e4b2f6b7f
5
5
  SHA512:
6
- metadata.gz: 990389d751e5d14f7e226217daf149037a1e68e57b5de3e9b79dfba3d8b9cef1ec61a0dbbfa07498e1da421e630fad8b76470aff615194932e67db1e34783d56
7
- data.tar.gz: 79013c53c77b07bf10bea70d2bb9d3a6aea8e41636a41542ee867e521ddaed78b3779f99f6f4d1842647e12890ff990056a18aaaa7d934a59e8f32b8606cd81b
6
+ metadata.gz: d192ac6fba728724b9e7229faa18c259551a1e7e8e337e956f0a44be9da23b39a4811c4bcaeaf1f5242555a5b9bf2f77bf28eb5217b2810c9777ea17d0d6843a
7
+ data.tar.gz: 1ec2c3dcb6f8759df1789585fad0574607eb2bcbe2ec40df079bf4a79ab654aa62e2cb1b96fc38169d5d6804b21c7978de28410dcc929e223a397c2eaa31eb9b
data/_includes/head.html CHANGED
@@ -1,26 +1,34 @@
1
1
  <head>
2
- <meta charset="utf-8">
2
+ <meta charset="utf-8" />
3
3
  <meta name="viewport" content="width=device-width initial-scale=1" />
4
- <meta name="keywords" content="{{ site.keywords }}" />
4
+ {%- if page.tags -%}
5
+ <meta name="keywords" content='{{ page.tags | join: "," }}' />
6
+ {%- else -%}
7
+ <meta name="keywords" content="{{ site.keywords }}" />
8
+ {%- endif -%}
5
9
  <meta name="author" content="{{ site.author}}" />
6
10
  <meta name="copyright" content="{{ site.copyright }}" />
7
11
  <meta name="robot" content="{{ site.robot }}" />
8
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
9
- <meta name="description" content="{{ site.description | strip_newlines}}"> {%- if page.title -%}
10
- <title>{{ page.title }} - {{ site.title}}</title>
12
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
13
+ <meta name="description" content="{{ site.description | strip_newlines}}" />
14
+ {%- if page.title -%}
15
+ <title>{{ page.title }} - {{ site.title}}</title>
11
16
  {%- else -%}
12
- <title>{{ site.title}}</title>
17
+ <title>{{ site.title }}</title>
13
18
  {%- endif -%}
14
- <link rel="stylesheet" href="{{ 'assets/css/main.css' | absolute_url }}">
15
- <link rel="canonical" href="{{ site.baseurl, page.url | absolute_url }}">
16
- <link rel="icon" href="{{ site.favicon | absolute_url}}"> {%- if page.style -%}
17
- <style type="text/css">
18
- {
19
+ <link rel="stylesheet" href="{{ 'assets/css/main.css' | absolute_url }}" />
20
+ <link rel="canonical" href="{{ site.baseurl, page.url | absolute_url }}" />
21
+ <link rel="icon" href="{{ site.favicon | absolute_url}}" />
22
+ {%- if page.style -%}
23
+ <style type="text/css">
19
24
  {
20
- page.style
25
+ {
26
+ page.style
27
+ }
21
28
  }
22
- }
23
- </style>
24
- {%- endif -%} {%- if page.url == "/404.html" -%}
25
- <meta http-equiv="refresh" content="5; url='{{ site.baseurl | absolute_url}}'" /> {%- endif %}
26
- </head>
29
+ </style>
30
+ {%- endif -%}
31
+ {%- if page.url == "/404.html" -%}
32
+ <meta http-equiv="refresh" content="5; url='{{ site.baseurl | absolute_url}}'" />
33
+ {%- endif -%}
34
+ </head>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-mehdix-rtl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mehdi Sadeghi