panthera-jekyll 1.3.1 → 1.3.2

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: a23aa043febea91846126df2300a992c447beb78663e279fc3764b43341dfdae
4
- data.tar.gz: 73621de703c1949a97126a2f7d483138ec64a59192c18ef181c88a89478e7fb9
3
+ metadata.gz: 66cdd6a96e74ddff2a8bfc3fe118a6a7bfdf19d51be0781343c07235341d9a96
4
+ data.tar.gz: cb53e9b9ff3d509ea3c9185fb7d2ecb9e678696d1c864c189236d0b9b550f898
5
5
  SHA512:
6
- metadata.gz: 8613a429a32c4b8818df74b3509387a3bf42768f111712666fdab318dc2f7ef25b07c8563a26d82d6cb938712868cfb87ba6c4991995d79df85570c4782c4e69
7
- data.tar.gz: fb441b81d2a79c30328a114f9a2daf49fb3d06a8b34d9337f25c3d74ff3295d8e063c940684f5c77f23d5a749d0bd65142a59da1d1af7f7c5f11d7c0cef16b72
6
+ metadata.gz: 7df2ddd53fe449ac92a8ffcab967db18b9f6fab51787d0e63b5715720d7e2dc4a3b839c3115322795e541d998ab4962e32e4cf604315b6b283231c33067ede23
7
+ data.tar.gz: 5fbfa36fb29bc389530c2b36d04e57948319ef926f681c1b533452a5e36a2fb7191ce18cbe0d0c2adbc526839686750ff18997df13a26c08411469382b54a9f1
@@ -5,15 +5,15 @@
5
5
  <div class="pan-post-list--left">
6
6
  <div class="pan-post-list--image">
7
7
  {% if post.image %}
8
- <a href="{{ post.url | prepend: site.baseurl }}" style="background-image: url({{ '/' | prepend: site.baseurl | append: post.image }});"></a>
8
+ <a href="{{ post.url | relative_url }}" style="background-image: url({{ '/' | relative_url | append: post.image }});"></a>
9
9
  {% else %}
10
- <a href="{{ post.url | prepend: site.baseurl }}"></a>
10
+ <a href="{{ post.url | relative_url }}"></a>
11
11
  {% endif %}
12
12
  </div>
13
13
  </div>
14
14
  <div class="pan-post-list--right">
15
15
  <div class="pan-post-list--content">
16
- <h2><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h2>
16
+ <h2><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h2>
17
17
  <p class="info">
18
18
  <span>{{ post.date | date: '%Y, %b %d' }}</span>
19
19
  &nbsp;&nbsp; - &nbsp;&nbsp;
@@ -20,9 +20,13 @@
20
20
 
21
21
  <div class="pan-layout-left__top">
22
22
  <div class="pan-layout-left__avatar">
23
- {% if site.github.owner_gravatar_url %}
23
+ {% if site.avatar %}
24
24
  <a href="{{ site.baseurl }}">
25
- <img src="{{ site.avatar | default: site.github.owner_gravatar_url }}" alt="{{ site.title | default: site.github.owner_name }}">
25
+ <img src="{{ site.avatar }}" alt="{{ site.title | default: site.github.owner_name }}">
26
+ </a>
27
+ {% else if site.github.owner_gravatar_url %}
28
+ <a href="{{ site.baseurl }}">
29
+ <img src="{{ site.github.owner_gravatar_url }}" alt="{{ site.title | default: site.github.owner_name }}">
26
30
  </a>
27
31
  {% else %}
28
32
  <a href="{{ site.baseurl }}">
@@ -3,13 +3,11 @@ layout: default
3
3
  ---
4
4
 
5
5
  <section class="post-view">
6
+ {% if page.image %}
6
7
  <div class="post-view__image">
7
- {% if page.image %}
8
- <img src="{{ '/' | prepend: site.baseurl | append: post.image }}" alt="{{ page.title }}">
9
- {% else %}
10
- <img src="{{ '/assets/images/post.jpg' | prepend: site.baseurl }}" alt="{{ page.title }}">
11
- {% endif %}
8
+ <img src="{{ '/' | relative_url | append: post.image }}" alt="{{ page.title }}">
12
9
  </div>
10
+ {% endif %}
13
11
 
14
12
  <div class="post-view__header">
15
13
  <h1>{{ page.title }}</h1>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panthera-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Ezeani