r-jekyll-theme 0.1.3 → 0.1.4

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: 8c47ff1ed0df12505c7bd7609720ac3dd4825a19f364b2a867f6174ef68f5678
4
- data.tar.gz: ab52c289ae446332afa5ba2c4882ca651eee86ea5461544cead50d6bd16ccc57
3
+ metadata.gz: 93db6bd0b20372bac113410a98c3e254445379a5d7212a971d0f1840e322f6d2
4
+ data.tar.gz: 51b61243ce450c0e8bd71bbdb74bea18b2fa7e4622eac8488b70df3d33258236
5
5
  SHA512:
6
- metadata.gz: 4c8a4f3eac91be6ee8d2d805f1c8a1858742a55274651e34b07cd5b1e93dbf8517119e0dfafafdf803d1ebc50d02e8bf9ffc80689bca75a6b106cf132db9a2da
7
- data.tar.gz: 5f9d5c3058ca0966fd9b3f0f0830fef5f1b2b3587fadf986f7b99d6984cc5d9287a3796b9e5d5c3720c6711cca930ed8a18c6acc94c4f701956aff0855a4e273
6
+ metadata.gz: 6a5e3fcfec16a660f2f8b113b640a7e62cec669dd4c96a65ca607d258fe0260d4fc4d63e826b3c55c1912e38c653d641fe026633ff4dd5e2bb74ae2646f188d9
7
+ data.tar.gz: 59623152fb870754dd27f5662c689e4f55dff2c493c0ef4e319efa1f9cab2fa70cffc6f4b440ee2b117c864d863faff4d937cb864673150dbcd01a2b84dd3eed
@@ -7,7 +7,7 @@
7
7
  <h3 id="{{ category_name | slugize }}" class="category-head">{{ category_name }}</h3>
8
8
  <ul class="post-tags">
9
9
  {% for post in site.categories[category_name] %}
10
- <li class="post-tag"><a href="{{ site.baseurl }}{{ post.url }}">{{post.title}}</a></li>
10
+ <li class="post-tag"><a href="{{ post.url | relative_url }}">{{post.title}}</a></li>
11
11
  {% endfor %}
12
12
  </ul>
13
13
  </div>
@@ -1,3 +1,3 @@
1
1
  <div class="go-back">
2
- <a href="/blog" class="go-back-link">All posts...</a>
2
+ <a href="{{ site.baseurl }}/blog" class="go-back-link">All posts...</a>
3
3
  </div>
@@ -27,7 +27,7 @@
27
27
  <span class="post-categories">
28
28
  {% assign categories = post.categories %}
29
29
  {% for category in categories %}
30
- <a href="{{site.baseurl}}/blog/#{{category|slugize}}">{{category}}</a>
30
+ <a href="{{site.baseurl}}/blog#{{category|slugize}}">{{category}}</a>
31
31
  {% unless forloop.last %}&nbsp;{% endunless %}
32
32
  {% endfor %}
33
33
  </span>
@@ -36,7 +36,7 @@
36
36
  <span class="post-categories">
37
37
  {% assign categories = page.categories %}
38
38
  {% for category in categories %}
39
- <a href="{{site.baseurl}}/blog/#{{category|slugize}}">{{category}}</a>
39
+ <a href="{{site.baseurl}}/blog#{{category|slugize}}">{{category}}</a>
40
40
  {% unless forloop.last %}&nbsp;{% endunless %}
41
41
  {% endfor %}
42
42
  </span>
@@ -49,7 +49,7 @@
49
49
  <span class="post-categories">
50
50
  {% assign categories = post.categories %}
51
51
  {% for category in categories %}
52
- <li class="post-tag"><a href="{{site.baseurl}}/blog/#{{tag|slugize}}">{{tag}}</a></li>
52
+ <li class="post-tag"><a href="{{site.baseurl}}/blog#{{tag|slugize}}">{{tag}}</a></li>
53
53
  {% unless forloop.last %}&nbsp;{% endunless %}
54
54
  {% endfor %}
55
55
  </span>
@@ -61,7 +61,7 @@
61
61
  <span class="post-categories">
62
62
  {% assign categories = page.categories %}
63
63
  {% for category in categories %}
64
- <li class="post-tag"><a href="{{site.baseurl}}/blog/#{{tag|slugize}}">{{tag}}</a></li>
64
+ <li class="post-tag"><a href="{{site.baseurl}}/blog#{{tag|slugize}}">{{tag}}</a></li>
65
65
  {% unless forloop.last %}&nbsp;{% endunless %}
66
66
  {% endfor %}
67
67
  </span>
@@ -9,10 +9,10 @@
9
9
  <ul id="post-list">
10
10
 
11
11
  <li class="post-item">
12
- <a href="{{ post.url }}" class="post-link"> <h1 id="{{post.title | slugify }}"> {%- if post.image -%} <img class="post-image" src="{{ post.image }}"> {%- endif -%}{{post.title}}</h1> </a>
12
+ <a href="{{ post.url | relative_url }}" class="post-link"> <h1 id="{{post.title | slugify }}"> {%- if post.image -%} <img class="post-image" src="{{ post.image }}"> {%- endif -%}{{post.title}}</h1> </a>
13
13
  {% include blog/post_meta.html -%}
14
14
  <div class="read-more">
15
- <a href="{{ post.url }}" class="read-more-link"> Read more...</a>
15
+ <a href="{{ post.url | relative_url }}" class="read-more-link"> Read more...</a>
16
16
  </div>
17
17
 
18
18
  </li>
@@ -7,7 +7,7 @@
7
7
  <h3 id="{{ tag_name | slugize }}" class="tag-head">{{ tag_name }}</h3>
8
8
  <ul class="post-tags">
9
9
  {% for post in site.tags[tag_name] %}
10
- <li class="post-tag"><a href="{{ site.baseurl }}{{ post.url }}">{{post.title}}</a></li>
10
+ <li class="post-tag"><a href="{{ post.url | relative_url }}">{{post.title}}</a></li>
11
11
  {% endfor %}
12
12
  </ul>
13
13
  </div>
@@ -1,7 +1,7 @@
1
1
  <header id="site-header" role="banner">
2
2
  <div id="site-logo-container">
3
3
  {%- if site.logo %}
4
- <a href="/index.html" id="site-logo">{{ site.logo }}</a>
4
+ <a href="{{ site.baseurl }}/index.html" id="site-logo">{{ site.logo }}</a>
5
5
  {%- endif %}
6
6
  </div>
7
7
 
@@ -18,7 +18,7 @@
18
18
 
19
19
  {%- if page.layout == "post" -%}
20
20
  <ul>
21
- <li><a style="font-weight: bold;" href="{{page.url}}#top" class="nav-link nav-link-top">{{ page.title }}</a></li>
21
+ <li><a style="font-weight: bold;" href="{{page.url | relative_url }}#top" class="nav-link nav-link-top">{{ page.title }}</a></li>
22
22
  </ul>
23
23
 
24
24
  {% include toc/sections.html html=content anchor_class="nav-link" h_min=2 h_max=2 sanitize=true skip_no_ids=true %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - rafalkaron