jekyll-theme-perry 0.1.4 → 0.1.5
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/summary.html +1 -1
- data/_sass/theme/_article.scss +7 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5daf14f7669c0144b54f1cddfdf72052f9bacc00
|
4
|
+
data.tar.gz: 35d050f52719ac354e2abd297af1c8b1929af013
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf850c217a568cc33fce6b6cad2efdf2ccd3714fcce022cf6fa9ef9598a83fd5ec4259a4abfc9b8ea8eaba537bdcb2819462ba1bfdc15673bfb5730614032428
|
7
|
+
data.tar.gz: 9c0245dcc01e266c609eff1c17c83f333993ce8dc98d702a44c0bd04f1a4c9ff6740175c31c671c449989dcd14017e7614fa5b2f1d596a1a11dc1c2f727ad91f
|
data/_includes/summary.html
CHANGED
@@ -25,7 +25,7 @@
|
|
25
25
|
This Gallery contains {{ post.images }} photos.
|
26
26
|
{% else %}
|
27
27
|
{% if post.video %}<iframe width='560' height='315' src='//www.youtube.com/embed/{{post.video}}?rel=0' frameborder='0' allowfullscreen itemProp='video'></iframe><br/>{% endif %}
|
28
|
-
{% if post.image %}<img src="{{ post.image }}" title="{{ post.title }}" alt="{{ post.title }}" class='alignleft' />{% endif %}
|
28
|
+
{% if post.image %}<img src="{{ post.image }}" title="{{ post.title }}" alt="{{ post.title }}"{% if post.format != 'image' %} class='alignleft post-thumb'{% endif %} />{% endif %}
|
29
29
|
{{ post.content | markdownify | strip_html | truncatewords: 125 }}
|
30
30
|
{% endif %}
|
31
31
|
</section>
|
data/_sass/theme/_article.scss
CHANGED
@@ -18,6 +18,12 @@ article {
|
|
18
18
|
clear: both;
|
19
19
|
}
|
20
20
|
|
21
|
+
.post-thumb {
|
22
|
+
height: 150px;
|
23
|
+
width: 150px;
|
24
|
+
object-fit: cover;
|
25
|
+
}
|
26
|
+
|
21
27
|
&.summary, &.page, &.series {
|
22
28
|
&::after {
|
23
29
|
@extend %divider-gradient-top;
|
@@ -43,7 +49,7 @@ article {
|
|
43
49
|
|
44
50
|
&.format-image {
|
45
51
|
@extend %media;
|
46
|
-
section[itemprop=articleBody]
|
52
|
+
section[itemprop=articleBody] img {
|
47
53
|
display: block;
|
48
54
|
float: none;
|
49
55
|
margin: 0.5em auto;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-perry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Perry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|