jekyll-polymer-magazine 0.1.1 → 0.1.2
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/home.html +61 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84a9561c218ac378058ab27eab30f57da3854ac2
|
4
|
+
data.tar.gz: e3469d1bfade8b6db09d17aff1fd52d08eb2966c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20b1faa4506f4dac1e843a931631460399bb516e3542b16e7fc9a1cd10dfd1f56f8d4c30b69355b2938b43f0453e2688067b841e22ffacbed5c267c7fffcd29e
|
7
|
+
data.tar.gz: 1196aaeb78490724592d3c7b14ac018f21ab7253bd8c93ffdec3b8bad1f9fb6ffc19778af79cbfdc4ba9601c4ff497d7e36d660b2c528fa5eee0e3a14c0213fc
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<body>
|
5
|
+
<paper-header-panel >
|
6
|
+
<paper-toolbar>
|
7
|
+
<div class="title">
|
8
|
+
{{ site.title }}
|
9
|
+
</div>
|
10
|
+
<paper-icon-button icon="search"></paper-icon-button>
|
11
|
+
</paper-toolbar>
|
12
|
+
<div>
|
13
|
+
<div class="grid grid-pad">
|
14
|
+
|
15
|
+
{% for post in paginator.posts %}
|
16
|
+
<div class="col-1-2">
|
17
|
+
|
18
|
+
<paper-material class="content post-card" elevation="0"
|
19
|
+
onmouseover="this.elevation='2'" onmouseout="this.elevation='0'"
|
20
|
+
onclick="location.href='{{ post.url }}'"
|
21
|
+
style="{% if post.image %}background: linear-gradient( rgba(0, 0, 0, 0.4),
|
22
|
+
rgba(0, 0, 0, 0.4) ), url('{{ post.image }}')center / cover;{% endif %}">
|
23
|
+
<paper-ripple></paper-ripple>
|
24
|
+
<h2>{{ post.title }}</h2>
|
25
|
+
<p>
|
26
|
+
{{ post.date | date: "%Y.%m.%d" }}
|
27
|
+
</p>
|
28
|
+
<p>
|
29
|
+
{{ post.content | strip_html | truncatewords:60 }}
|
30
|
+
<section>
|
31
|
+
{% for tag in post.tags %}
|
32
|
+
<b>#{{ tag }}</b>
|
33
|
+
{% endfor %}
|
34
|
+
</section>
|
35
|
+
</p>
|
36
|
+
</paper-material>
|
37
|
+
</div>
|
38
|
+
{% endfor %}
|
39
|
+
</div>
|
40
|
+
<table align="center" style="margin-bottom:160px;">
|
41
|
+
<tr>
|
42
|
+
<td style="padding-right:16px;">
|
43
|
+
<a href="{% if paginator.next_page %}{{ paginator.next_page_path }}{% else %}{% endif %}">
|
44
|
+
<paper-button>
|
45
|
+
<< Older
|
46
|
+
</button>
|
47
|
+
</a>
|
48
|
+
</td>
|
49
|
+
<td>{{ paginator.page }} / {{ paginator.total_pages }}</td>
|
50
|
+
<td style="padding-left:16px;">
|
51
|
+
<a href="{% if paginator.previous_page %}{{ paginator.previous_page_path }}{% else %}{% endif %}">
|
52
|
+
<paper-button>
|
53
|
+
Newer >>
|
54
|
+
</button>
|
55
|
+
</a>
|
56
|
+
</td>
|
57
|
+
</tr>
|
58
|
+
</table>
|
59
|
+
</div>
|
60
|
+
</paper-header-panel>
|
61
|
+
</body>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-polymer-magazine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sukso96100
|
@@ -79,6 +79,7 @@ files:
|
|
79
79
|
- _includes/head.html
|
80
80
|
- _includes/javascripts.html
|
81
81
|
- _layouts/default.html
|
82
|
+
- _layouts/home.html
|
82
83
|
- _layouts/page.html
|
83
84
|
- _layouts/post.html
|
84
85
|
- assets/bower.json
|