simplicity 0.0.20 → 0.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/_includes/disqus_comments.html +4 -3
- data/_includes/favicon.html +6 -6
- data/_includes/footer.html +28 -19
- data/_includes/head.html +3 -2
- data/_includes/header.html +35 -24
- data/_includes/next_page.html +10 -2
- data/_includes/page.html +2 -2
- data/_includes/paginator.html +11 -13
- data/_includes/prev_page.html +10 -2
- data/_includes/sidebar.html +28 -27
- data/_layouts/about.html +140 -0
- data/_layouts/blog.html +26 -23
- data/_layouts/default.html +0 -4
- data/_layouts/home.html +69 -0
- data/_layouts/page.html +17 -9
- data/_layouts/post.html +18 -22
- data/_layouts/tags.html +13 -0
- data/_layouts/works.html +42 -0
- metadata +8 -6
- data/_includes/first_page.html +0 -3
- data/_includes/last_page.html +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b4da4ad480d470b27e8e7da0a8b02bc01102e222a18e92f108c679498ebd0563
|
4
|
+
data.tar.gz: d7c111073646d9c23d7595c8246cf7a9bcbce365647e055ed6f64b244f24dd69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: caddc110b420edc3290904b8a728b1902930178e0fd7af039570cc984c001cd14ebd7ac9c402deef1cda103610fb70400424369045df91cb21e527597e22d475
|
7
|
+
data.tar.gz: 237a4987d5562eb1bb7137d361c0c2f9cfa553dc017bcff9291875162eb540d3a7391b6029de83ce7969aa0be04557794dc5d1186733bf8d64f148b2e6f8d986
|
@@ -1,6 +1,6 @@
|
|
1
|
-
{% if page.comments != false
|
2
|
-
|
3
|
-
<div id="disqus_thread" class="
|
1
|
+
{% if page.comments != false %}
|
2
|
+
<section class="section">
|
3
|
+
<div id="disqus_thread" class="comment"></div>
|
4
4
|
<script>
|
5
5
|
var disqus_config = function () {
|
6
6
|
this.page.url = '{{ page.url | absolute_url }}';
|
@@ -17,4 +17,5 @@
|
|
17
17
|
})();
|
18
18
|
</script>
|
19
19
|
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
20
|
+
</section>
|
20
21
|
{% endif %}
|
data/_includes/favicon.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
<link rel="shortcut icon" type="image/png" href="{
|
2
|
-
<link rel="apple-touch-icon" sizes="180x180" href="{
|
3
|
-
<link rel="icon" type="image/png" sizes="32x32" href="{
|
4
|
-
<link rel="icon" type="image/png" sizes="16x16" href="{
|
5
|
-
<link rel="manifest" href="{
|
6
|
-
<link rel="mask-icon" href="{
|
1
|
+
<link rel="shortcut icon" type="image/png" href="{{ assets["favicon.ico"].digest_path }}">
|
2
|
+
<link rel="apple-touch-icon" sizes="180x180" href="{{ assets["apple-touch-icon.png"].digest_path }}">
|
3
|
+
<link rel="icon" type="image/png" sizes="32x32" href="{{ assets["favicon-32x32.png"].digest_path }}">
|
4
|
+
<link rel="icon" type="image/png" sizes="16x16" href="{{ assets[" favicon-16x16.png"].digest_path }}">
|
5
|
+
<link rel="manifest" href="{{ assets["manifest.json"].digest_path }}">
|
6
|
+
<link rel="mask-icon" href="{{ assets["safari-pinned-tab.svg"].digest_path }}" color="#5bbad5">
|
7
7
|
<meta name="theme-color" content="#ffffff">
|
data/_includes/footer.html
CHANGED
@@ -1,42 +1,51 @@
|
|
1
|
-
<footer
|
2
|
-
|
3
|
-
|
4
|
-
<div>
|
1
|
+
<footer class="footer">
|
2
|
+
<div class="container">
|
3
|
+
<div class="content has-text-centered">
|
5
4
|
Theme by
|
6
|
-
<a
|
7
|
-
<
|
5
|
+
<a href="https://github.com/bananaappletw/simplicity/">
|
6
|
+
<span class="icon">
|
7
|
+
<i class="fab fa-github"></i>
|
8
|
+
</span>
|
8
9
|
simplicity
|
9
10
|
</a>
|
10
|
-
|
11
|
-
<div class="ui inverted divider"></div>
|
12
|
-
<div class="ui inverted horizontal divided link list">
|
11
|
+
<br>
|
13
12
|
{% if site.facebook %}
|
14
|
-
<a
|
15
|
-
<
|
13
|
+
<a href="{{site.facebook}}">
|
14
|
+
<span class="icon">
|
15
|
+
<i class="fab fa-facebook"></i>
|
16
|
+
</span>
|
16
17
|
Facebook
|
17
18
|
</a>
|
18
19
|
{% endif %}
|
19
20
|
{% if site.github %}
|
20
|
-
<a
|
21
|
-
<
|
21
|
+
<a href="{{ site.github }}">
|
22
|
+
<span class="icon">
|
23
|
+
<i class="fab fa-github"></i>
|
24
|
+
</span>
|
22
25
|
Github
|
23
26
|
</a>
|
24
27
|
{% endif %}
|
25
28
|
{% if site.linkedin%}
|
26
|
-
<a
|
27
|
-
<
|
29
|
+
<a href="{{ site.linkedin }}">
|
30
|
+
<span class="icon">
|
31
|
+
<i class="fab fa-linkedin"></i>
|
32
|
+
</span>
|
28
33
|
Linkedin
|
29
34
|
</a>
|
30
35
|
{% endif %}
|
31
36
|
{% if site.stack_overflow %}
|
32
|
-
<a
|
33
|
-
<
|
37
|
+
<a href="{{ site.stack_overflow }}">
|
38
|
+
<span class="icon">
|
39
|
+
<i class="fab fa-stack-overflow"></i>
|
40
|
+
</span>
|
34
41
|
Stack Overflow
|
35
42
|
</a>
|
36
43
|
{% endif %}
|
37
44
|
{% if site.twitter %}
|
38
|
-
<a
|
39
|
-
<
|
45
|
+
<a href="{{ site.twitter }}">
|
46
|
+
<span class="icon">
|
47
|
+
<i class="fab fa-twitter"></i>
|
48
|
+
</span>
|
40
49
|
Twitter
|
41
50
|
</a>
|
42
51
|
{% endif %}
|
data/_includes/head.html
CHANGED
data/_includes/header.html
CHANGED
@@ -1,26 +1,37 @@
|
|
1
|
-
<header
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
<header>
|
2
|
+
<nav class="navbar is-black">
|
3
|
+
<div class="navbar-brand">
|
4
|
+
<a class="navbar-item" href="{{ "/" | relative_url }}">
|
5
|
+
{% asset icon_avatar.jpg %}
|
6
|
+
</a>
|
7
|
+
<div class="navbar-burger" data-target="navMenu">
|
8
|
+
<span></span>
|
9
|
+
<span></span>
|
10
|
+
<span></span>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
<div class="navbar-menu" id="navMenu">
|
14
|
+
<div class="navbar-start">
|
15
|
+
{% assign pages = site.pages | sort: 'title' %}
|
16
|
+
{% for page in pages %}
|
17
|
+
{% if page.title and page.autogen == nil %}
|
18
|
+
<a class="navbar-item" href="{{ page.url | relative_url }}">
|
19
|
+
<span class="icon">
|
20
|
+
<i class="fas fa-{{page.icon}}"></i>
|
21
|
+
</span>
|
22
|
+
{{ page.title | capitalize }}
|
23
|
+
</a>
|
16
24
|
{% endif %}
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
25
|
+
{% endfor %}
|
26
|
+
</div>
|
27
|
+
<div class="navbar-end">
|
28
|
+
<a class="navbar-item" href="{{ "/feed.xml" | relative_url }}">
|
29
|
+
<span class="icon">
|
30
|
+
<i class="fas fa-rss"></i>
|
31
|
+
</span>
|
32
|
+
Subscribe
|
33
|
+
</a>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
</nav>
|
26
37
|
</header>
|
data/_includes/next_page.html
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
-
<a
|
2
|
-
|
1
|
+
<a class="pagination-next"
|
2
|
+
{% if paginator.next_page %}
|
3
|
+
href="{{ paginator.next_page_path }}"
|
4
|
+
{% else %}
|
5
|
+
disabled
|
6
|
+
{% endif %}
|
7
|
+
>
|
8
|
+
<span class="icon">
|
9
|
+
<i class="fas fa-arrow-right"></i>
|
10
|
+
</span>
|
3
11
|
</a>
|
data/_includes/page.html
CHANGED
@@ -7,9 +7,9 @@
|
|
7
7
|
{% else %}
|
8
8
|
{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}
|
9
9
|
{% endif %}
|
10
|
-
" class="
|
10
|
+
" class="pagination-link
|
11
11
|
{% if page == paginator.page %}
|
12
12
|
|
13
|
-
|
13
|
+
is-current
|
14
14
|
{% endif %}
|
15
15
|
">{{ page }}</a>
|
data/_includes/paginator.html
CHANGED
@@ -1,15 +1,13 @@
|
|
1
|
-
<
|
2
|
-
|
3
|
-
{% include first_page.html %}
|
1
|
+
<section class="section">
|
2
|
+
<nav class="pagination is-centered is-large" role="navigation" aria-label="pagination">
|
4
3
|
{% include prev_page.html %}
|
5
|
-
{% endif %}
|
6
|
-
|
7
|
-
{% for page in (1..paginator.total_pages) %}
|
8
|
-
{% include page.html %}
|
9
|
-
{% endfor %}
|
10
|
-
|
11
|
-
{% if paginator.next_page %}
|
12
4
|
{% include next_page.html %}
|
13
|
-
|
14
|
-
|
15
|
-
|
5
|
+
<ul class="pagination-list">
|
6
|
+
{% for page in (1..paginator.total_pages) %}
|
7
|
+
<li>
|
8
|
+
{% include page.html %}
|
9
|
+
</li>
|
10
|
+
{% endfor %}
|
11
|
+
</ul>
|
12
|
+
</nav>
|
13
|
+
</section>
|
data/_includes/prev_page.html
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
-
<a
|
2
|
-
|
1
|
+
<a class="pagination-previous"
|
2
|
+
{% if paginator.previous_page %}
|
3
|
+
href="{{ paginator.previous_page_path }}"
|
4
|
+
{% else %}
|
5
|
+
disabled
|
6
|
+
{% endif %}
|
7
|
+
>
|
8
|
+
<span class="icon">
|
9
|
+
<i class="fas fa-arrow-left"></i>
|
10
|
+
</span>
|
3
11
|
</a>
|
data/_includes/sidebar.html
CHANGED
@@ -1,34 +1,35 @@
|
|
1
|
-
<
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
<div class="
|
7
|
-
|
8
|
-
{{category | first}}
|
1
|
+
<section class="box">
|
2
|
+
<h1 class="title">Categories</h1>
|
3
|
+
<div class="accordions">
|
4
|
+
{% for category in site.categories %}
|
5
|
+
<div class="accordion is-active">
|
6
|
+
<div class="accordion-header toggle">
|
7
|
+
{{ category | first }}
|
9
8
|
</div>
|
10
|
-
<div class="
|
11
|
-
<div class="
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
<div class="
|
18
|
-
<
|
19
|
-
{{ post.
|
20
|
-
|
21
|
-
|
22
|
-
|
9
|
+
<div class="accordion-body">
|
10
|
+
<div class="accordion-content">
|
11
|
+
<div class="content">
|
12
|
+
{% for posts in category %}
|
13
|
+
{% for post in posts %}
|
14
|
+
{% if post.url %}
|
15
|
+
{% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
|
16
|
+
<div class="item">
|
17
|
+
<div class="content">
|
18
|
+
<a class="header" href="{{ post.url | relative_url }}">
|
19
|
+
{{ post.title | escape }}
|
20
|
+
</a>
|
21
|
+
<div class="right floated">
|
22
|
+
{{ post.date | date: date_format }}
|
23
|
+
</div>
|
23
24
|
</div>
|
24
25
|
</div>
|
26
|
+
{% endif %}
|
27
|
+
{% endfor %}
|
28
|
+
{% endfor %}
|
25
29
|
</div>
|
26
|
-
{% endif %}
|
27
|
-
{% endfor %}
|
28
|
-
{% endfor %}
|
29
30
|
</div>
|
30
31
|
</div>
|
31
|
-
{% endfor %}
|
32
32
|
</div>
|
33
|
-
|
34
|
-
</div>
|
33
|
+
{% endfor %}
|
34
|
+
</div>
|
35
|
+
</section>
|
data/_layouts/about.html
ADDED
@@ -0,0 +1,140 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
{% assign about = site.data.about %}
|
5
|
+
{% capture string_with_newlines %}
|
6
|
+
Hello, I am Wei Bo Chen.
|
7
|
+
|
8
|
+
I am a CTF player and web developer.
|
9
|
+
|
10
|
+
He is responsible for website development and club lecturer in bamboofox.
|
11
|
+
|
12
|
+
Specialized in Ruby on Rails.
|
13
|
+
{% endcapture %}
|
14
|
+
|
15
|
+
<div class="box">
|
16
|
+
<h1 class="title">About</h1>
|
17
|
+
<div class="box">
|
18
|
+
<article class="media">
|
19
|
+
<div class="media-left">
|
20
|
+
{% asset {{about.profile}} class="image is-128x128" %}
|
21
|
+
</div>
|
22
|
+
<div class="media-content">
|
23
|
+
<div class="content">
|
24
|
+
{{ string_with_newlines | newline_to_br }}
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
</article>
|
28
|
+
</div>
|
29
|
+
|
30
|
+
<h1 class="title">Education</h1>
|
31
|
+
<div class="columns">
|
32
|
+
{% for education in about.educations %}
|
33
|
+
<div class="column is-narrow">
|
34
|
+
<div class="box">
|
35
|
+
<article class="media">
|
36
|
+
<div class="media-left">
|
37
|
+
<div class="image is-128x128">
|
38
|
+
{% asset {{education.logo}} %}
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
<div class="media-content">
|
42
|
+
<div class="content">
|
43
|
+
<a class="link" href="{{education.link}}">
|
44
|
+
{{education.name}}
|
45
|
+
</a>
|
46
|
+
<br>
|
47
|
+
<span class="icon">
|
48
|
+
<i class="fas fa-graduation-cap"></i>
|
49
|
+
</span>
|
50
|
+
{{education.degree}}
|
51
|
+
<br>
|
52
|
+
<span class="icon">
|
53
|
+
<i class="fas fa-calendar"></i>
|
54
|
+
</span>
|
55
|
+
{{education.period}}
|
56
|
+
</div>
|
57
|
+
</div>
|
58
|
+
</article>
|
59
|
+
</div>
|
60
|
+
</div>
|
61
|
+
{% endfor %}
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<h1 class="title">Organizations</h1>
|
65
|
+
<div class="columns">
|
66
|
+
{% for organization in about.organizations %}
|
67
|
+
<div class="column is-narrow">
|
68
|
+
<div class="box">
|
69
|
+
<article class="media">
|
70
|
+
<div class="media-left">
|
71
|
+
<div class="image is-128x128">
|
72
|
+
{% asset {{organization.logo}} %}
|
73
|
+
</div>
|
74
|
+
</div>
|
75
|
+
<div class="media-content">
|
76
|
+
<div class="content">
|
77
|
+
<a class="link" href="{{organization.link}}">
|
78
|
+
{{organization.name}}
|
79
|
+
</a>
|
80
|
+
<br>
|
81
|
+
<span class="icon">
|
82
|
+
<i class="fas fa-user"></i>
|
83
|
+
</span>
|
84
|
+
{{organization.position}}
|
85
|
+
<br>
|
86
|
+
<span class="icon">
|
87
|
+
<i class="fas fa-calendar"></i>
|
88
|
+
</span>
|
89
|
+
{{organization.period}}
|
90
|
+
</div>
|
91
|
+
</div>
|
92
|
+
</article>
|
93
|
+
</div>
|
94
|
+
</div>
|
95
|
+
{% endfor %}
|
96
|
+
</div>
|
97
|
+
|
98
|
+
<h1 class="title">Skills</h1>
|
99
|
+
<div class="field is-grouped is-grouped-multiline">
|
100
|
+
{% for skill in about.skills %}
|
101
|
+
<div class="control">
|
102
|
+
<div class="tags has-addons">
|
103
|
+
<span class="tag is-dark">{{ skill.name }}</span>
|
104
|
+
<span class="tag is-info">{{ skill.score | times: 10 }}</span>
|
105
|
+
</div>
|
106
|
+
</div>
|
107
|
+
{% endfor %}
|
108
|
+
</div>
|
109
|
+
<h1 class="title">Programming Languages</h1>
|
110
|
+
<div class="field is-grouped is-grouped-multiline">
|
111
|
+
{% for programming_language in about.programming_languages %}
|
112
|
+
<div class="control">
|
113
|
+
<div class="tags has-addons">
|
114
|
+
<span class="tag is-dark">{{ programming_language.name }}</span>
|
115
|
+
<span class="tag is-info">{{ programming_language.score | times: 10 }}</span>
|
116
|
+
</div>
|
117
|
+
</div>
|
118
|
+
{% endfor %}
|
119
|
+
</div>
|
120
|
+
|
121
|
+
<h1 class="title">Talks</h1>
|
122
|
+
<div class="columns is-multiline">
|
123
|
+
{% for talk in about.talks %}
|
124
|
+
<div class="column is-narrow">
|
125
|
+
{{talk.link}}
|
126
|
+
</div>
|
127
|
+
{% endfor %}
|
128
|
+
</div>
|
129
|
+
|
130
|
+
<h1 class="title">Resume</h1>
|
131
|
+
<div class="content">
|
132
|
+
{{ about.resume.description | newline_to_br}}
|
133
|
+
<a href="{{ about.resume.link }}">
|
134
|
+
<span class="icon">
|
135
|
+
<i class="fas fa-download"></i>
|
136
|
+
</span>
|
137
|
+
Download the resume
|
138
|
+
</a>
|
139
|
+
</div>
|
140
|
+
</div>
|
data/_layouts/blog.html
CHANGED
@@ -1,30 +1,33 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
2
|
+
layout: page
|
3
3
|
---
|
4
|
-
|
5
|
-
<div class="
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
{
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
4
|
+
<div class="columns">
|
5
|
+
<div class="column is-three-quarters">
|
6
|
+
{% for post in paginator.posts %}
|
7
|
+
<article class="box article-box">
|
8
|
+
{% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
|
9
|
+
<a class="title" href="{{ post.url | relative_url }}">
|
10
|
+
{{ post.title | capitalize | escape }}
|
11
|
+
</a>
|
12
|
+
<div class="meta">
|
13
|
+
{{ post.date | date: site.date_format }}
|
14
|
+
<div class="tags">
|
15
|
+
{% for tag in post.tags %}
|
16
|
+
<a class="tag" href="{{ tag | tag_url }}">
|
17
|
+
{{ tag }}
|
15
18
|
</a>
|
16
|
-
|
17
|
-
{{ post.date | date: date_format }}
|
18
|
-
</div>
|
19
|
+
{% endfor %}
|
19
20
|
</div>
|
20
21
|
</div>
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
22
|
+
<div class="content">
|
23
|
+
{{ post.content }}
|
24
|
+
</div>
|
25
|
+
</article>
|
26
|
+
{% endfor %}
|
27
|
+
</div>
|
27
28
|
|
28
|
-
<div class="
|
29
|
-
|
29
|
+
<div class="column">
|
30
|
+
{% include sidebar.html %}
|
31
|
+
</div>
|
30
32
|
</div>
|
33
|
+
{% include paginator.html %}
|
data/_layouts/default.html
CHANGED
data/_layouts/home.html
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
{% assign home = site.data.home %}
|
5
|
+
|
6
|
+
<section id="main" class="hero is-fullheight is-black">
|
7
|
+
<div class="hero-head">
|
8
|
+
{% include header.html %}
|
9
|
+
</div>
|
10
|
+
<div class="hero-body">
|
11
|
+
<div class="container has-text-centered">
|
12
|
+
<div class="content">
|
13
|
+
{% asset {{home.profile}} class="profile-image"%}
|
14
|
+
<h1 class="title">
|
15
|
+
Programmable animal - sea cucumber
|
16
|
+
</h1>
|
17
|
+
<h2 class="subtitle">
|
18
|
+
#bananaappletw
|
19
|
+
</h2>
|
20
|
+
{% if site.facebook %}
|
21
|
+
<a href="{{site.facebook}}">
|
22
|
+
<span class="icon">
|
23
|
+
<i class="fab fa-facebook"></i>
|
24
|
+
</span>
|
25
|
+
Facebook
|
26
|
+
</a>
|
27
|
+
{% endif %}
|
28
|
+
{% if site.github %}
|
29
|
+
<a href="{{ site.github }}">
|
30
|
+
<span class="icon">
|
31
|
+
<i class="fab fa-github"></i>
|
32
|
+
</span>
|
33
|
+
Github
|
34
|
+
</a>
|
35
|
+
{% endif %}
|
36
|
+
{% if site.linkedin %}
|
37
|
+
<a href="{{ site.linkedin }}">
|
38
|
+
<span class="icon">
|
39
|
+
<i class="fab fa-linkedin"></i>
|
40
|
+
</span>
|
41
|
+
Linkedin
|
42
|
+
</a>
|
43
|
+
{% endif %}
|
44
|
+
{% if site.stack_overflow %}
|
45
|
+
<a href="{{ site.stack_overflow }}">
|
46
|
+
<span class="icon">
|
47
|
+
<i class="fab fa-stack-overflow"></i>
|
48
|
+
</span>
|
49
|
+
Stack Overflow
|
50
|
+
</a>
|
51
|
+
{% endif %}
|
52
|
+
{% if site.twitter %}
|
53
|
+
<a href="{{ site.twitter }}">
|
54
|
+
<span class="icon">
|
55
|
+
<i class="fab fa-twitter"></i>
|
56
|
+
</span>
|
57
|
+
Twitter
|
58
|
+
</a>
|
59
|
+
{% endif %}
|
60
|
+
</div>
|
61
|
+
<a class="button" href="{{ "/" | relative_url }}">
|
62
|
+
Read my articles
|
63
|
+
</a>
|
64
|
+
</div>
|
65
|
+
</div>
|
66
|
+
<div class="hero-foot">
|
67
|
+
{% include footer.html %}
|
68
|
+
</div>
|
69
|
+
</section>
|
data/_layouts/page.html
CHANGED
@@ -1,14 +1,22 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
4
|
+
{% include header.html %}
|
5
|
+
<section class="hero is-medium is-black is-bold">
|
6
|
+
<div class="hero-body banner">
|
7
|
+
<div class="container has-text-centered">
|
8
|
+
<h1 class="title">
|
9
|
+
{{ page.title | capitalize | escape }}
|
10
|
+
</h1>
|
11
11
|
</div>
|
12
|
-
</
|
12
|
+
</div>
|
13
|
+
</section>
|
14
|
+
<main id="main" class="section">
|
15
|
+
<section class="container is-fluid">
|
16
|
+
<section class="section">
|
17
|
+
{{ content }}
|
18
|
+
</section>
|
13
19
|
{% include disqus_comments.html %}
|
14
|
-
</
|
20
|
+
</section>
|
21
|
+
</main>
|
22
|
+
{% include footer.html %}
|
data/_layouts/post.html
CHANGED
@@ -1,27 +1,23 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
2
|
+
layout: page
|
3
|
+
comments: true
|
3
4
|
---
|
4
|
-
<div class="
|
5
|
-
<
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
5
|
+
<div class="box">
|
6
|
+
<div class="content">
|
7
|
+
<a class="title" href="{{ post.url | relative_url }}">
|
8
|
+
{{ page.title | capitalize |escape }}
|
9
|
+
</a>
|
10
|
+
<div class="meta">
|
11
|
+
{{ page.date | date: site.date_format }}
|
12
|
+
<div class="tags">
|
13
|
+
{% for tag in page.tags %}
|
14
|
+
<a class="tag">
|
15
|
+
{{ tag }}
|
16
|
+
</a>
|
17
|
+
{% endfor %}
|
18
|
+
</div>
|
19
|
+
</div>
|
19
20
|
{{ content }}
|
20
21
|
</div>
|
21
|
-
|
22
|
-
</article>
|
23
|
-
{% include disqus_comments.html %}
|
24
|
-
</div>
|
25
|
-
<div class="four wide column">
|
26
|
-
{% include sidebar.html %}
|
27
22
|
</div>
|
23
|
+
{% include disqus_comments.html %}
|
data/_layouts/tags.html
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
<h2>{{ page.tag }}</h2>
|
5
|
+
<ul>
|
6
|
+
{% for post in page.posts %}
|
7
|
+
<li><a href="{{ post.url }}">{{ post.title }}</a> ({{ post.date | date_to_string }} | Tags: {{ post | tags }})</li>
|
8
|
+
{% endfor %}
|
9
|
+
</ul>
|
10
|
+
|
11
|
+
<div id="tag-cloud">
|
12
|
+
{{ site | tag_cloud }}
|
13
|
+
</div>
|
data/_layouts/works.html
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="columns is-multiline">
|
6
|
+
{% for work in site.data.works %}
|
7
|
+
<div class="column is-narrow">
|
8
|
+
<div class="work-card card">
|
9
|
+
<div class="card-header">
|
10
|
+
<h1 class="card-header-title is-centered">
|
11
|
+
{{work.name}}
|
12
|
+
</h1>
|
13
|
+
</div>
|
14
|
+
<div class="card-image">
|
15
|
+
{% asset {{work.preview}} class="image is-512x512" %}
|
16
|
+
</div>
|
17
|
+
<div class="card-content">
|
18
|
+
<div class="tags">
|
19
|
+
{% for tag in work.tags %}
|
20
|
+
<a class="tag is-black">
|
21
|
+
{{tag}}
|
22
|
+
</a>
|
23
|
+
{% endfor %}
|
24
|
+
</div>
|
25
|
+
<div class="content">
|
26
|
+
{% if work.github %}
|
27
|
+
View on
|
28
|
+
<a class="link" href="{{work.github}}">
|
29
|
+
<span class="icon">
|
30
|
+
<i class="fab fa-github"></i>
|
31
|
+
</span>
|
32
|
+
Github
|
33
|
+
</a>
|
34
|
+
<br>
|
35
|
+
{% endif %}
|
36
|
+
{{work.description}}
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
{% endfor %}
|
42
|
+
</div>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplicity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bananaappletw
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -147,21 +147,23 @@ files:
|
|
147
147
|
- README.md
|
148
148
|
- _includes/disqus_comments.html
|
149
149
|
- _includes/favicon.html
|
150
|
-
- _includes/first_page.html
|
151
150
|
- _includes/footer.html
|
152
151
|
- _includes/google-analytics.html
|
153
152
|
- _includes/head.html
|
154
153
|
- _includes/header.html
|
155
|
-
- _includes/last_page.html
|
156
154
|
- _includes/next_page.html
|
157
155
|
- _includes/page.html
|
158
156
|
- _includes/paginator.html
|
159
157
|
- _includes/prev_page.html
|
160
158
|
- _includes/sidebar.html
|
159
|
+
- _layouts/about.html
|
161
160
|
- _layouts/blog.html
|
162
161
|
- _layouts/default.html
|
162
|
+
- _layouts/home.html
|
163
163
|
- _layouts/page.html
|
164
164
|
- _layouts/post.html
|
165
|
+
- _layouts/tags.html
|
166
|
+
- _layouts/works.html
|
165
167
|
homepage: https://github.com/bananaappletw/simplicity
|
166
168
|
licenses:
|
167
169
|
- MIT
|
@@ -182,8 +184,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
182
184
|
version: '0'
|
183
185
|
requirements: []
|
184
186
|
rubyforge_project:
|
185
|
-
rubygems_version: 2.6
|
187
|
+
rubygems_version: 2.7.6
|
186
188
|
signing_key:
|
187
189
|
specification_version: 4
|
188
|
-
summary: 'simplicity: simple theme built by
|
190
|
+
summary: 'simplicity: simple theme built by bulma.css'
|
189
191
|
test_files: []
|
data/_includes/first_page.html
DELETED
data/_includes/last_page.html
DELETED