jekyll-theme-mehdix-rtl 1.2.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52a2bf8e3b74811fc9eb9315c373d68c7f7ac714f6a074deb32c37a7f97495ea
4
- data.tar.gz: da466a52d5eb88f339eb0a1e5c204ab98b701f465c1f5f6cbf091b794eb5cb1e
3
+ metadata.gz: 143a8c7a4626dbb4324972f77492fd82629dd81898afb7dc7ea3238900d53c7f
4
+ data.tar.gz: 5c6a40d89668e8179a38df0bd04d12ea4cb48beafb52df12fdac60569ef1314f
5
5
  SHA512:
6
- metadata.gz: b60acea973215420fc2ccc10206ac73c691d11b43b7441ec842ad7de15da8c7d29d973ccbdc69b2ec9f287007af1243be7f5d8da06126eddc4b856ab8ae6b875
7
- data.tar.gz: 0e60a603892f4a44312424abd1b678e28e548f61651815a574e8a3b4ef65d90ff85c996e9f56f8b5c28b14eb37823e42bd9d150c661d46d247a4637120d381a4
6
+ metadata.gz: 2f191d8cc7dce453d396973bc624b62381c41607840f7339dea0d8be00cca0a94a797b6025ad117398ba11b908836ccbc65ae75e240c9a0b89da18122a1ddc3c
7
+ data.tar.gz: dc0b7740fc0644a7cf994dc99558f543a9d9428b0d1382c53a70b86716c18e5e73b9ded875814d490a834ad2678400e33f9a5c9c3b58eb04d53deaf8e530e16d
data/_includes/head.html CHANGED
@@ -1,33 +1,12 @@
1
- <head>
2
- <meta charset="utf-8" />
3
- <meta name=viewport content="width=device-width, initial-scale=1" />
4
-
5
- {%- if page.tags -%}
6
- <meta name="keywords" content='{{ page.tags | join: "," }}' />
7
- {%- elsif page.url contains site.tag_page_dir -%}
8
- <meta name="robots" content="noindex">
9
- {%- else -%}
10
- <meta name="keywords" content='{{ site.keywords | split: " " | join: "," }}' />
11
- {%- endif -%}
12
-
13
- <meta name="author" content="{{ site.author}}" />
14
- <meta name="copyright" content="{{ site.copyright }}" />
15
- <meta name="robot" content="{{ site.robot }}" />
16
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
17
- <meta name="description" content="{{ site.description | strip_newlines}}" />
18
-
19
- {%- if page.title -%}
20
- <title>{{ page.title }} - {{ site.title}}</title>
21
- {%- else -%}
22
- <title>{{ site.title }}</title>
23
- {%- endif -%}
24
-
25
- <link rel="canonical" href="{{ page.url | prepend: site.baseurl | absolute_url }}" />
26
- <link rel="icon" href="{{ site.favicon | absolute_url}}" />
27
-
28
- <link rel="stylesheet" href="{{ 'assets/css/main.css' | absolute_url }}" />
29
- <link rel="stylesheet" href="{{ 'assets/fonts/fontawesomev5.0.2.css' | absolute_url }}" />
30
-
31
- {% seo %}
32
-
33
- </head>
1
+ <meta charset="utf-8" />
2
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
3
+ <meta name="author" content="{{ site.author}}" />
4
+ <meta name="copyright" content="{{ site.copyright }}" />
5
+ <meta name="robot" content="{{ site.robot }}" />
6
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
7
+ <meta name="description" content="{{ site.description | strip_newlines}}" />
8
+
9
+ <link rel="canonical" href="{{ page.url | prepend: site.baseurl | absolute_url }}" />
10
+ <link rel="icon" href="{{ site.favicon | absolute_url}}" />
11
+ <link rel="stylesheet" href="{{ 'assets/css/main.css' | absolute_url }}" />
12
+ <link rel="stylesheet" href="{{ 'assets/fonts/fontawesomev5.0.2.css' | absolute_url }}" />
@@ -1,11 +1,30 @@
1
1
  <!DOCTYPE html>
2
2
  <html dir="rtl" lang="fa">
3
3
 
4
- {%- include head.html -%}
4
+ <head>
5
+ {%- include_cached head.html -%}
6
+
7
+ {%- if page.tags -%}
8
+ <meta name="keywords" content='{{ page.tags | join: "," }}' />
9
+ {%- elsif page.url contains site.tag_page_dir -%}
10
+ <meta name="robots" content="noindex">
11
+ {%- else -%}
12
+ <meta name="keywords" content='{{ site.keywords | split: " " | join: "," }}' />
13
+ {%- endif -%}
14
+
15
+ {%- if page.title -%}
16
+ <title>{{ page.title }} - {{ site.title}}</title>
17
+ {%- else -%}
18
+ <title>{{ site.title }}</title>
19
+ {%- endif -%}
20
+
21
+ {% seo %}
22
+
23
+ </head>
5
24
 
6
25
  <body>
7
26
 
8
- {%- include header.html -%}
27
+ {%- include_cached header.html -%}
9
28
 
10
29
  <main>
11
30
  <div class="wrapper">
@@ -13,9 +32,9 @@
13
32
  </div>
14
33
  </main>
15
34
 
16
- {%- include footer.html -%}
35
+ {%- include_cached footer.html -%}
17
36
 
18
37
  <script src="{{ 'assets/js/main.js' | absolute_url }}"></script>
19
- {% if site.google_analytics_id %} {% include analyticstracking.html %} {% endif %}
38
+ {% if site.google_analytics_id %} {% include_cached analyticstracking.html %} {% endif %}
20
39
  </body>
21
40
  </html>
@@ -1,6 +1,13 @@
1
1
  <!DOCTYPE html>
2
2
  <html dir="rtl" lang="fa">
3
- {% include head.html %}
3
+ <head>
4
+ {% include head.html %}
5
+ {%- if page.title -%}
6
+ <title>{{ page.title }} - {{ site.title}}</title>
7
+ {%- else -%}
8
+ <title>{{ site.title }}</title>
9
+ {%- endif -%}
10
+ </head>
4
11
  <body>
5
12
  <main>
6
13
  <div class="wrapper">
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-mehdix-rtl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mehdi Sadeghi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-23 00:00:00.000000000 Z
11
+ date: 2018-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -108,6 +108,34 @@ dependencies:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '2.4'
111
+ - !ruby/object:Gem::Dependency
112
+ name: jekyll-tagging-lite
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0.1'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.1'
125
+ - !ruby/object:Gem::Dependency
126
+ name: jekyll-include-cache
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
111
139
  - !ruby/object:Gem::Dependency
112
140
  name: jekyll-tagging-related_posts
113
141
  requirement: !ruby/object:Gem::Requirement