jekyll-theme-mehdix-rtl 2.0.0 → 2.0.1

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: 143a8c7a4626dbb4324972f77492fd82629dd81898afb7dc7ea3238900d53c7f
4
- data.tar.gz: 5c6a40d89668e8179a38df0bd04d12ea4cb48beafb52df12fdac60569ef1314f
3
+ metadata.gz: 76f57010a2fac7fe6c15a99e5296a79a8e62aeae09de21645721e7c32cb215bc
4
+ data.tar.gz: cef3a49fc989fdfa7251fc2b12423536646d90edc9c9b2532f32fa63883b6e94
5
5
  SHA512:
6
- metadata.gz: 2f191d8cc7dce453d396973bc624b62381c41607840f7339dea0d8be00cca0a94a797b6025ad117398ba11b908836ccbc65ae75e240c9a0b89da18122a1ddc3c
7
- data.tar.gz: dc0b7740fc0644a7cf994dc99558f543a9d9428b0d1382c53a70b86716c18e5e73b9ded875814d490a834ad2678400e33f9a5c9c3b58eb04d53deaf8e530e16d
6
+ metadata.gz: 3e9619fd35df35ed39b38f2c0e9bf9f5e332c2919fb4a8c1cbf604b93e999985beb227759a279a60223066e52ee669c05ab84a1bb4cd7fc51bc2aff6858d36fa
7
+ data.tar.gz: 3669c909bc995cb6dc577dbe760a0db201677436852a8b0d8af0cf1c896fc081e3869d8a2eb40e1cf7d92942164d055c2b51e1d40611a58ad76fc974d99870cc
@@ -1,6 +1,6 @@
1
1
  <header>
2
2
  <div class="wrapper">
3
- <a class="site-title" href="{{ '' | absolute_url}}">{{ site.title }}</a>
3
+ <a class="site-title" href="{{ '/' | absolute_url}}">{{ site.title }}</a>
4
4
  <small id="motto"> {{ site.motto }} </small>
5
5
  </div>
6
6
  </header>
@@ -34,7 +34,7 @@
34
34
 
35
35
  {%- include_cached footer.html -%}
36
36
 
37
- <script src="{{ 'assets/js/main.js' | absolute_url }}"></script>
37
+ <script src="{{ '/assets/js/main.js' | absolute_url }}"></script>
38
38
  {% if site.google_analytics_id %} {% include_cached analyticstracking.html %} {% endif %}
39
39
  </body>
40
40
  </html>
@@ -9,7 +9,7 @@ layout: default
9
9
  {{ post.date | jdate: "%d %b %Y" | habify }}
10
10
  </span>
11
11
  <span class="list-line">
12
- <a href="{{ post.url | absolute_url }}">{{ post.title }}</a>
12
+ <a href="{{ post.url }}">{{ post.title }}</a>
13
13
  </span>
14
14
  </li>
15
15
  {% endfor %}
data/_layouts/post.html CHANGED
@@ -37,7 +37,12 @@ layout: default
37
37
  {% endfor %}
38
38
 
39
39
  <i class="fas fa-code"></i>
40
- <a href="https://raw.githubusercontent.com/{{site.github.username}}/{{site.github.repository}}/master/{{page.path}}">سورس</a>
40
+ {% assign slash = site.source | slice: 0 %}
41
+ {% if slash == '/' %}
42
+ <a href="https://raw.githubusercontent.com/{{site.github.username}}/{{site.github.repository}}/master/{{ page.path }}">سورس</a>
43
+ {% else %}
44
+ <a href="https://raw.githubusercontent.com/{{site.github.username}}/{{site.github.repository}}/master/{{site.source}}/{{page.path}}">سورس</a>
45
+ {% endif %}
41
46
  </small>
42
47
 
43
48
  <nav class="pagination">
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: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mehdi Sadeghi