Skip to content

Commit 1a5f233

Browse files
committed
Init
0 parents  commit 1a5f233

21 files changed

+908
-0
lines changed

Gemfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
source "https://rubygems.org"
2+
3+
gem "github-pages"
4+
gem "jekyll-remote-theme"
5+
gem "jekyll-paginate"

Gemfile.lock

Lines changed: 250 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,250 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
activesupport (6.0.2.1)
5+
concurrent-ruby (~> 1.0, >= 1.0.2)
6+
i18n (>= 0.7, < 2)
7+
minitest (~> 5.1)
8+
tzinfo (~> 1.1)
9+
zeitwerk (~> 2.2)
10+
addressable (2.7.0)
11+
public_suffix (>= 2.0.2, < 5.0)
12+
coffee-script (2.4.1)
13+
coffee-script-source
14+
execjs
15+
coffee-script-source (1.11.1)
16+
colorator (1.1.0)
17+
commonmarker (0.17.13)
18+
ruby-enum (~> 0.5)
19+
concurrent-ruby (1.1.5)
20+
dnsruby (1.61.3)
21+
addressable (~> 2.5)
22+
em-websocket (0.5.1)
23+
eventmachine (>= 0.12.9)
24+
http_parser.rb (~> 0.6.0)
25+
ethon (0.12.0)
26+
ffi (>= 1.3.0)
27+
eventmachine (1.2.7-x86-mingw32)
28+
execjs (2.7.0)
29+
faraday (1.0.0)
30+
multipart-post (>= 1.2, < 3)
31+
ffi (1.11.3-x86-mingw32)
32+
forwardable-extended (2.6.0)
33+
gemoji (3.0.1)
34+
github-pages (203)
35+
github-pages-health-check (= 1.16.1)
36+
jekyll (= 3.8.5)
37+
jekyll-avatar (= 0.7.0)
38+
jekyll-coffeescript (= 1.1.1)
39+
jekyll-commonmark-ghpages (= 0.1.6)
40+
jekyll-default-layout (= 0.1.4)
41+
jekyll-feed (= 0.13.0)
42+
jekyll-gist (= 1.5.0)
43+
jekyll-github-metadata (= 2.12.1)
44+
jekyll-mentions (= 1.5.1)
45+
jekyll-optional-front-matter (= 0.3.2)
46+
jekyll-paginate (= 1.1.0)
47+
jekyll-readme-index (= 0.3.0)
48+
jekyll-redirect-from (= 0.15.0)
49+
jekyll-relative-links (= 0.6.1)
50+
jekyll-remote-theme (= 0.4.1)
51+
jekyll-sass-converter (= 1.5.2)
52+
jekyll-seo-tag (= 2.6.1)
53+
jekyll-sitemap (= 1.4.0)
54+
jekyll-swiss (= 1.0.0)
55+
jekyll-theme-architect (= 0.1.1)
56+
jekyll-theme-cayman (= 0.1.1)
57+
jekyll-theme-dinky (= 0.1.1)
58+
jekyll-theme-hacker (= 0.1.1)
59+
jekyll-theme-leap-day (= 0.1.1)
60+
jekyll-theme-merlot (= 0.1.1)
61+
jekyll-theme-midnight (= 0.1.1)
62+
jekyll-theme-minimal (= 0.1.1)
63+
jekyll-theme-modernist (= 0.1.1)
64+
jekyll-theme-primer (= 0.5.4)
65+
jekyll-theme-slate (= 0.1.1)
66+
jekyll-theme-tactile (= 0.1.1)
67+
jekyll-theme-time-machine (= 0.1.1)
68+
jekyll-titles-from-headings (= 0.5.3)
69+
jemoji (= 0.11.1)
70+
kramdown (= 1.17.0)
71+
liquid (= 4.0.3)
72+
mercenary (~> 0.3)
73+
minima (= 2.5.1)
74+
nokogiri (>= 1.10.4, < 2.0)
75+
rouge (= 3.13.0)
76+
terminal-table (~> 1.4)
77+
github-pages-health-check (1.16.1)
78+
addressable (~> 2.3)
79+
dnsruby (~> 1.60)
80+
octokit (~> 4.0)
81+
public_suffix (~> 3.0)
82+
typhoeus (~> 1.3)
83+
html-pipeline (2.12.3)
84+
activesupport (>= 2)
85+
nokogiri (>= 1.4)
86+
http_parser.rb (0.6.0)
87+
i18n (0.9.5)
88+
concurrent-ruby (~> 1.0)
89+
jekyll (3.8.5)
90+
addressable (~> 2.4)
91+
colorator (~> 1.0)
92+
em-websocket (~> 0.5)
93+
i18n (~> 0.7)
94+
jekyll-sass-converter (~> 1.0)
95+
jekyll-watch (~> 2.0)
96+
kramdown (~> 1.14)
97+
liquid (~> 4.0)
98+
mercenary (~> 0.3.3)
99+
pathutil (~> 0.9)
100+
rouge (>= 1.7, < 4)
101+
safe_yaml (~> 1.0)
102+
jekyll-avatar (0.7.0)
103+
jekyll (>= 3.0, < 5.0)
104+
jekyll-coffeescript (1.1.1)
105+
coffee-script (~> 2.2)
106+
coffee-script-source (~> 1.11.1)
107+
jekyll-commonmark (1.3.1)
108+
commonmarker (~> 0.14)
109+
jekyll (>= 3.7, < 5.0)
110+
jekyll-commonmark-ghpages (0.1.6)
111+
commonmarker (~> 0.17.6)
112+
jekyll-commonmark (~> 1.2)
113+
rouge (>= 2.0, < 4.0)
114+
jekyll-default-layout (0.1.4)
115+
jekyll (~> 3.0)
116+
jekyll-feed (0.13.0)
117+
jekyll (>= 3.7, < 5.0)
118+
jekyll-gist (1.5.0)
119+
octokit (~> 4.2)
120+
jekyll-github-metadata (2.12.1)
121+
jekyll (~> 3.4)
122+
octokit (~> 4.0, != 4.4.0)
123+
jekyll-mentions (1.5.1)
124+
html-pipeline (~> 2.3)
125+
jekyll (>= 3.7, < 5.0)
126+
jekyll-optional-front-matter (0.3.2)
127+
jekyll (>= 3.0, < 5.0)
128+
jekyll-paginate (1.1.0)
129+
jekyll-readme-index (0.3.0)
130+
jekyll (>= 3.0, < 5.0)
131+
jekyll-redirect-from (0.15.0)
132+
jekyll (>= 3.3, < 5.0)
133+
jekyll-relative-links (0.6.1)
134+
jekyll (>= 3.3, < 5.0)
135+
jekyll-remote-theme (0.4.1)
136+
addressable (~> 2.0)
137+
jekyll (>= 3.5, < 5.0)
138+
rubyzip (>= 1.3.0)
139+
jekyll-sass-converter (1.5.2)
140+
sass (~> 3.4)
141+
jekyll-seo-tag (2.6.1)
142+
jekyll (>= 3.3, < 5.0)
143+
jekyll-sitemap (1.4.0)
144+
jekyll (>= 3.7, < 5.0)
145+
jekyll-swiss (1.0.0)
146+
jekyll-theme-architect (0.1.1)
147+
jekyll (~> 3.5)
148+
jekyll-seo-tag (~> 2.0)
149+
jekyll-theme-cayman (0.1.1)
150+
jekyll (~> 3.5)
151+
jekyll-seo-tag (~> 2.0)
152+
jekyll-theme-dinky (0.1.1)
153+
jekyll (~> 3.5)
154+
jekyll-seo-tag (~> 2.0)
155+
jekyll-theme-hacker (0.1.1)
156+
jekyll (~> 3.5)
157+
jekyll-seo-tag (~> 2.0)
158+
jekyll-theme-leap-day (0.1.1)
159+
jekyll (~> 3.5)
160+
jekyll-seo-tag (~> 2.0)
161+
jekyll-theme-merlot (0.1.1)
162+
jekyll (~> 3.5)
163+
jekyll-seo-tag (~> 2.0)
164+
jekyll-theme-midnight (0.1.1)
165+
jekyll (~> 3.5)
166+
jekyll-seo-tag (~> 2.0)
167+
jekyll-theme-minimal (0.1.1)
168+
jekyll (~> 3.5)
169+
jekyll-seo-tag (~> 2.0)
170+
jekyll-theme-modernist (0.1.1)
171+
jekyll (~> 3.5)
172+
jekyll-seo-tag (~> 2.0)
173+
jekyll-theme-primer (0.5.4)
174+
jekyll (> 3.5, < 5.0)
175+
jekyll-github-metadata (~> 2.9)
176+
jekyll-seo-tag (~> 2.0)
177+
jekyll-theme-slate (0.1.1)
178+
jekyll (~> 3.5)
179+
jekyll-seo-tag (~> 2.0)
180+
jekyll-theme-tactile (0.1.1)
181+
jekyll (~> 3.5)
182+
jekyll-seo-tag (~> 2.0)
183+
jekyll-theme-time-machine (0.1.1)
184+
jekyll (~> 3.5)
185+
jekyll-seo-tag (~> 2.0)
186+
jekyll-titles-from-headings (0.5.3)
187+
jekyll (>= 3.3, < 5.0)
188+
jekyll-watch (2.2.1)
189+
listen (~> 3.0)
190+
jemoji (0.11.1)
191+
gemoji (~> 3.0)
192+
html-pipeline (~> 2.2)
193+
jekyll (>= 3.0, < 5.0)
194+
kramdown (1.17.0)
195+
liquid (4.0.3)
196+
listen (3.2.1)
197+
rb-fsevent (~> 0.10, >= 0.10.3)
198+
rb-inotify (~> 0.9, >= 0.9.10)
199+
mercenary (0.3.6)
200+
mini_portile2 (2.4.0)
201+
minima (2.5.1)
202+
jekyll (>= 3.5, < 5.0)
203+
jekyll-feed (~> 0.9)
204+
jekyll-seo-tag (~> 2.1)
205+
minitest (5.13.0)
206+
multipart-post (2.1.1)
207+
nokogiri (1.10.7-x86-mingw32)
208+
mini_portile2 (~> 2.4.0)
209+
octokit (4.15.0)
210+
faraday (>= 0.9)
211+
sawyer (~> 0.8.0, >= 0.5.3)
212+
pathutil (0.16.2)
213+
forwardable-extended (~> 2.6)
214+
public_suffix (3.1.1)
215+
rb-fsevent (0.10.3)
216+
rb-inotify (0.10.1)
217+
ffi (~> 1.0)
218+
rouge (3.13.0)
219+
ruby-enum (0.7.2)
220+
i18n
221+
rubyzip (2.0.0)
222+
safe_yaml (1.0.5)
223+
sass (3.7.4)
224+
sass-listen (~> 4.0.0)
225+
sass-listen (4.0.0)
226+
rb-fsevent (~> 0.9, >= 0.9.4)
227+
rb-inotify (~> 0.9, >= 0.9.7)
228+
sawyer (0.8.2)
229+
addressable (>= 2.3.5)
230+
faraday (> 0.8, < 2.0)
231+
terminal-table (1.8.0)
232+
unicode-display_width (~> 1.1, >= 1.1.1)
233+
thread_safe (0.3.6)
234+
typhoeus (1.3.1)
235+
ethon (>= 0.9.0)
236+
tzinfo (1.2.6)
237+
thread_safe (~> 0.1)
238+
unicode-display_width (1.6.0)
239+
zeitwerk (2.2.2)
240+
241+
PLATFORMS
242+
x86-mingw32
243+
244+
DEPENDENCIES
245+
github-pages
246+
jekyll-paginate
247+
jekyll-remote-theme
248+
249+
BUNDLED WITH
250+
2.1.4

_config.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
title: Blog
2+
email: your-email@example.com
3+
baseurl: ""
4+
url: ""
5+
github_username: imsoo
6+
7+
# Author
8+
author:
9+
name: imsoo
10+
url: https://imsoo.github.io
11+
12+
# Build settings
13+
remote_theme: chesterhow/tale
14+
markdown: kramdown
15+
include:
16+
- _pages
17+
18+
# Assets
19+
sass:
20+
sass_dir: _sass
21+
style: compressed
22+
23+
# Permalinks
24+
permalink: /:year-:month-:day/:title
25+
paginate: 5
26+
27+
# Gems
28+
plugins:
29+
- jekyll-feed
30+
- jekyll-paginate
31+
- jekyll-remote-theme
32+
33+
# Excludes
34+
exclude: [ Gemfile, Gemfile.lock, tale.gemspec ]
35+
36+
37+
# exclude:
38+
# - .sass-cache/
39+
# - .jekyll-cache/
40+
# - gemfiles/
41+
# - Gemfile
42+
# - Gemfile.lock
43+
# - node_modules/
44+
# - vendor/bundle/
45+
# - vendor/cache/
46+
# - vendor/gems/
47+
# - vendor/ruby/

_includes/footer.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<footer>
2+
<span>
3+
&copy; <time datetime="{{ site.time }}">{{ site.time | date: '%Y' }}</time> <a href="https://github.com/{{ site.author.name }}">{{ site.author.name }}</a/>. Made with Jekyll using the <a href="https://github.com/chesterhow/tale/">Tale</a> theme.
4+
</span>
5+
</footer>

_includes/head.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<head>
2+
<meta charset="UTF-8">
3+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
4+
5+
{% seo %}
6+
7+
<!-- CSS -->
8+
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
9+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400i,700">
10+
11+
<!-- RSS -->
12+
{% feed_meta %}
13+
14+
<!-- Google Analytics-->
15+
{% if site.google_analytics and jekyll.environment == 'production' %}
16+
{% include analytics.html %}
17+
{% endif %}
18+
</head>

_includes/navigation.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<nav class="nav">
2+
<div class="nav-container">
3+
<a href="{{ site.baseurl }}/">
4+
<h2 class="nav-title">{{ site.title }}</h2>
5+
</a>
6+
<ul>
7+
<li><a href="{{ site.baseurl }}/">Posts</a></li>
8+
</ul>
9+
</div>
10+
</nav>

_layouts/default.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
{% include head.html %}
5+
6+
<body>
7+
8+
{% include navigation.html %}
9+
10+
<main>
11+
{{ content }}
12+
</main>
13+
14+
{% include footer.html %}
15+
</body>
16+
</html>

_layouts/home.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
layout: default
3+
---
4+
5+
<div class="catalogue">
6+
{% for post in paginator.posts %}
7+
<a href="{{ post.url | prepend: site.baseurl }}" class="catalogue-item">
8+
<div>
9+
<time datetime="{{ post.date }}" class="catalogue-time">{{ post.date | date: "%B %d, %Y" }}</time>
10+
<h1 class="catalogue-title">{{ post.title }}</h1>
11+
<div class="catalogue-line"></div>
12+
13+
<p>
14+
{{ post.content | strip_html | truncatewords: 30 }}
15+
</p>
16+
17+
</div>
18+
</a>
19+
{% endfor %}
20+
</div>
21+
22+
<div class="pagination">
23+
{% if paginator.previous_page %}
24+
<a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="left arrow">&#8592;</a>
25+
{% endif %}
26+
{% if paginator.next_page %}
27+
<a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="right arrow">&#8594;</a>
28+
{% endif %}
29+
30+
<span>{{ paginator.page }}</span>
31+
</div>

0 commit comments

Comments
 (0)