louie 0.1.2 → 0.1.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/_layouts/post.html +31 -31
- data/_sass/post.scss +25 -12
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 12ed2e9caa10b0bbcc3882e51a62ab0a106c9118
|
|
4
|
+
data.tar.gz: 6221221f29a4393b1d987b66dcdc6487ca8d84d3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0e8602583acae70da535b61d80348eb58eeb3e0494f617ed118fb376e21e4cd8247889b624c808ea4cc264951d6016e34e1ce1a339ab3f51b01186f13138814e
|
|
7
|
+
data.tar.gz: 400f752baebef05ca9453d2a19909a2ab8aaef924542b788579f944c05d49bccae11fcf913588dbffe62bd814c4dccdf98c80786d900c897c0159658189eb7c7
|
data/_layouts/post.html
CHANGED
|
@@ -3,43 +3,43 @@
|
|
|
3
3
|
{% include head.html %}
|
|
4
4
|
|
|
5
5
|
<body>
|
|
6
|
-
<div class="
|
|
7
|
-
<div class="
|
|
8
|
-
<
|
|
9
|
-
{{ site.
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
<div class="container">
|
|
7
|
+
<div class="post">
|
|
8
|
+
<div class="bio__header">
|
|
9
|
+
<a href="{{ site.url }}{{ "/" | relative_url }}">
|
|
10
|
+
{{ site.header }}
|
|
11
|
+
</a>
|
|
12
|
+
</div>
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
<div class="post__meta">
|
|
15
|
+
<div class="post__title">{{ page.title }}</div>
|
|
16
|
+
<div class="post__date">
|
|
17
|
+
{% if site.date_format %}
|
|
18
|
+
{{ page.date | date: site.date_format }}
|
|
19
|
+
{% else %}
|
|
20
|
+
{{ page.date | date: "%b %-d, %Y" }}
|
|
21
|
+
{% endif %}
|
|
22
|
+
</div>
|
|
23
|
+
<div class="post__cat">{{ page.category }}</div>
|
|
21
24
|
</div>
|
|
22
|
-
<div class="post__cat">{{ page.category }}</div>
|
|
23
|
-
</div>
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
<div class="post__body">
|
|
27
|
+
{{ content }}
|
|
28
|
+
</div>
|
|
28
29
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
{% if site.prev-next %}
|
|
31
|
+
<div class="post__paginate">
|
|
32
|
+
{% if page.previous.url %}
|
|
33
|
+
<a class="post__paginate-left" href="{{ site.url }}{{ page.previous.url | relative_url }}">{{ page.previous.title }}</a>
|
|
34
|
+
{% endif %}
|
|
34
35
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
36
|
+
{% if page.next.url %}
|
|
37
|
+
<a class="post__paginate-right" href="{{ site.url }}{{ page.next.url | relative_url }}">{{ page.next.title }}</a>
|
|
38
|
+
{% endif %}
|
|
39
|
+
</div>
|
|
40
|
+
{% endif %}
|
|
41
|
+
</div>
|
|
41
42
|
|
|
42
|
-
<div class="container">
|
|
43
43
|
{% include posts_list.html uid=page.id %}
|
|
44
44
|
</div>
|
|
45
45
|
</body>
|
data/_sass/post.scss
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
.post {
|
|
2
|
-
@extend .container;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
1
|
.post__meta {
|
|
6
2
|
margin: 30px 0 20px;
|
|
7
3
|
border-bottom: 1px solid $color__black;
|
|
@@ -11,20 +7,39 @@
|
|
|
11
7
|
|
|
12
8
|
.post__paginate {
|
|
13
9
|
overflow: hidden;
|
|
10
|
+
}
|
|
14
11
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
$paginate-padding: 13px;
|
|
13
|
+
.post__paginate-left,
|
|
14
|
+
.post__paginate-right {
|
|
15
|
+
position: relative;
|
|
16
|
+
display: block;
|
|
17
|
+
width: 50%;
|
|
19
18
|
}
|
|
20
19
|
|
|
21
20
|
.post__paginate-left {
|
|
21
|
+
padding-left: $paginate-padding;
|
|
22
22
|
float: left;
|
|
23
|
+
|
|
24
|
+
&:before {
|
|
25
|
+
position: absolute;
|
|
26
|
+
top: 0;
|
|
27
|
+
left: 0;
|
|
28
|
+
content: "\21FD";
|
|
29
|
+
}
|
|
23
30
|
}
|
|
24
31
|
|
|
25
32
|
.post__paginate-right {
|
|
26
|
-
|
|
33
|
+
padding-right: $paginate-padding;
|
|
27
34
|
text-align: right;
|
|
35
|
+
float: right;
|
|
36
|
+
|
|
37
|
+
&:after {
|
|
38
|
+
position: absolute;
|
|
39
|
+
top: 0;
|
|
40
|
+
right: 0;
|
|
41
|
+
content: "\21FE";
|
|
42
|
+
}
|
|
28
43
|
}
|
|
29
44
|
|
|
30
45
|
.post__title {
|
|
@@ -46,9 +61,7 @@
|
|
|
46
61
|
|
|
47
62
|
// media queries
|
|
48
63
|
@include media-query($on-laptop) {
|
|
49
|
-
.
|
|
50
|
-
.post__body,
|
|
51
|
-
.post__paginate {
|
|
64
|
+
.post {
|
|
52
65
|
min-width: 500px;
|
|
53
66
|
width: 50%;
|
|
54
67
|
}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: louie
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lillian Chen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-01-
|
|
11
|
+
date: 2017-01-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
93
93
|
version: '0'
|
|
94
94
|
requirements: []
|
|
95
95
|
rubyforge_project:
|
|
96
|
-
rubygems_version: 2.
|
|
96
|
+
rubygems_version: 2.6.8
|
|
97
97
|
signing_key:
|
|
98
98
|
specification_version: 4
|
|
99
99
|
summary: A Jekyll theme (that looks awesome). Louie is free, lightweight, and customizable
|