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 +4 -4
- data/_includes/all-posts.html +3 -3
- data/_includes/left.html +6 -2
- data/_layouts/post.html +3 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66cdd6a96e74ddff2a8bfc3fe118a6a7bfdf19d51be0781343c07235341d9a96
|
4
|
+
data.tar.gz: cb53e9b9ff3d509ea3c9185fb7d2ecb9e678696d1c864c189236d0b9b550f898
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7df2ddd53fe449ac92a8ffcab967db18b9f6fab51787d0e63b5715720d7e2dc4a3b839c3115322795e541d998ab4962e32e4cf604315b6b283231c33067ede23
|
7
|
+
data.tar.gz: 5fbfa36fb29bc389530c2b36d04e57948319ef926f681c1b533452a5e36a2fb7191ce18cbe0d0c2adbc526839686750ff18997df13a26c08411469382b54a9f1
|
data/_includes/all-posts.html
CHANGED
@@ -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 |
|
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 |
|
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 |
|
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
|
-
|
data/_includes/left.html
CHANGED
@@ -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.
|
23
|
+
{% if site.avatar %}
|
24
24
|
<a href="{{ site.baseurl }}">
|
25
|
-
<img src="{{ site.avatar
|
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 }}">
|
data/_layouts/post.html
CHANGED
@@ -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
|
-
{
|
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>
|