linus 1.3.2 → 1.3.3
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 +4 -4
- data/_includes/blog/post.html +1 -5
- data/_layouts/post.html +9 -6
- 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: 989fe2d5cf817d60b1dd66189d982d8d268e27d513049ab7ccad35db2a045a30
|
|
4
|
+
data.tar.gz: 21f49120ccb862d778d0431f1a280e43d5d626f0b389eaecddefb60410d93c50
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 37747dd3c0cb32aa4027482e827051a07e8f238123cc7bfb72afc051edf515e2084cc81ccf1337bfba77743c4431a40a4840d19de840e99e683f546cd4afb28b
|
|
7
|
+
data.tar.gz: f73d15358245107ba2bbd09cd655287ffb2a66fd848c17a7d6969a411549c8a52316e0791aaf11a55d5d055c7bbe6754d98c7edc3f10b76266272702072cc31c
|
data/_includes/blog/post.html
CHANGED
|
@@ -64,11 +64,7 @@
|
|
|
64
64
|
</div>
|
|
65
65
|
{%- endif -%}
|
|
66
66
|
{%- else -%}
|
|
67
|
-
<div class="post-content e-content">
|
|
68
|
-
{% if post.title != "" and post.source %}
|
|
69
|
-
{%- include link-preview.html url=post.source -%}
|
|
70
|
-
{% endif %}
|
|
71
|
-
|
|
67
|
+
<div class="post-content e-content">
|
|
72
68
|
{{ include.post.content }}
|
|
73
69
|
</div>
|
|
74
70
|
{%- endif -%}
|
data/_layouts/post.html
CHANGED
|
@@ -15,6 +15,14 @@ layout: default
|
|
|
15
15
|
{%- if page.title and page.title != "" -%}
|
|
16
16
|
<h1 class="post-title p-name">
|
|
17
17
|
{{- page.title -}}
|
|
18
|
+
|
|
19
|
+
{% if page.source %}
|
|
20
|
+
<cite class="post-source-title u-in-reply-to h-cite">
|
|
21
|
+
<a class="post-source u-url p-name" href="{{- page.source -}}">
|
|
22
|
+
{{- page.source | remove: "https://" | remove: "http://" | split: '/' | first | prepend: "↪ " -}}
|
|
23
|
+
</a>
|
|
24
|
+
</cite>
|
|
25
|
+
{% endif %}
|
|
18
26
|
</h1>
|
|
19
27
|
{%- assign post_title = page.title -%}
|
|
20
28
|
{%- elsif page.source -%}
|
|
@@ -30,7 +38,7 @@ layout: default
|
|
|
30
38
|
{%- else -%}
|
|
31
39
|
<cite class="post-source-title u-in-reply-to h-cite">
|
|
32
40
|
<a class="post-source u-url p-name" href="{{- page.source -}}">
|
|
33
|
-
{{- page.source | remove: "https://" | remove: "http://" | prepend: "↪ " -}}
|
|
41
|
+
{{- page.source | remove: "https://" | remove: "http://" | split: '/' | first | prepend: "↪ " -}}
|
|
34
42
|
</a>
|
|
35
43
|
</cite>
|
|
36
44
|
{%- endif -%}
|
|
@@ -54,11 +62,6 @@ layout: default
|
|
|
54
62
|
</header>
|
|
55
63
|
|
|
56
64
|
<div class="post-content e-content">
|
|
57
|
-
|
|
58
|
-
{% if page.title != "" and page.source %}
|
|
59
|
-
{%- include link-preview.html url=page.source -%}
|
|
60
|
-
{% endif %}
|
|
61
|
-
|
|
62
65
|
{{ page.content }}
|
|
63
66
|
</div>
|
|
64
67
|
|