Skip to content

Commit d8b42a5

Browse files
committed
change github page config
1 parent bb52492 commit d8b42a5

10 files changed

+215
-22
lines changed

Diff for: 404.html

+8-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,17 @@
1515
line-height: 1;
1616
letter-spacing: -1px;
1717
}
18+
.link-home {
19+
color: #777777 !important;
20+
text-decoration: underline;
21+
}
1822
</style>
1923

2024
<div class="container">
2125
<h1>404</h1>
2226

23-
<p><strong>Page not found :(</strong></p>
24-
<p>The requested page could not be found.</p>
27+
<p><strong>页面没找到 :(</strong></p>
28+
<p>
29+
<a class="link-home" href="/">返回首页</a>
30+
</p>
2531
</div>

Diff for: Gemfile

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@ source "https://rubygems.org"
77
#
88
# This will help ensure the proper Jekyll version is running.
99
# Happy Jekylling!
10-
gem "jekyll", "~> 3.8"
1110
# This is the default theme for new Jekyll sites. You may change this to anything you like.
12-
gem "beautiful-jekyll-theme", "~> 5.x"
1311
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
1412
# uncomment the line below. To upgrade, run `bundle update github-pages`.
1513
# gem "github-pages", group: :jekyll_plugins
1614
# If you have any plugins, put them here!
1715
group :jekyll_plugins do
18-
gem "jekyll-feed", "~> 0.12"
16+
gem "github-pages"
1917
end
2018

2119
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem

Diff for: Gemfile.lock

+190-14
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,90 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4+
activesupport (6.0.3.4)
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, >= 2.2.2)
410
addressable (2.7.0)
511
public_suffix (>= 2.0.2, < 5.0)
6-
beautiful-jekyll-theme (5.0.0)
7-
jekyll (~> 3.8)
8-
jekyll-paginate (~> 1.1)
9-
jekyll-sitemap (~> 1.4)
10-
kramdown (~> 2.3.0)
11-
kramdown-parser-gfm (~> 1.1)
12+
coffee-script (2.4.1)
13+
coffee-script-source
14+
execjs
15+
coffee-script-source (1.11.1)
1216
colorator (1.1.0)
17+
commonmarker (0.17.13)
18+
ruby-enum (~> 0.5)
1319
concurrent-ruby (1.1.7)
20+
dnsruby (1.61.5)
21+
simpleidn (~> 0.1)
1422
em-websocket (0.5.2)
1523
eventmachine (>= 0.12.9)
1624
http_parser.rb (~> 0.6.0)
25+
ethon (0.12.0)
26+
ffi (>= 1.3.0)
1727
eventmachine (1.2.7)
28+
execjs (2.7.0)
29+
faraday (1.1.0)
30+
multipart-post (>= 1.2, < 3)
31+
ruby2_keywords
1832
ffi (1.13.1)
1933
forwardable-extended (2.6.0)
34+
gemoji (3.0.1)
35+
github-pages (209)
36+
github-pages-health-check (= 1.16.1)
37+
jekyll (= 3.9.0)
38+
jekyll-avatar (= 0.7.0)
39+
jekyll-coffeescript (= 1.1.1)
40+
jekyll-commonmark-ghpages (= 0.1.6)
41+
jekyll-default-layout (= 0.1.4)
42+
jekyll-feed (= 0.15.1)
43+
jekyll-gist (= 1.5.0)
44+
jekyll-github-metadata (= 2.13.0)
45+
jekyll-mentions (= 1.6.0)
46+
jekyll-optional-front-matter (= 0.3.2)
47+
jekyll-paginate (= 1.1.0)
48+
jekyll-readme-index (= 0.3.0)
49+
jekyll-redirect-from (= 0.16.0)
50+
jekyll-relative-links (= 0.6.1)
51+
jekyll-remote-theme (= 0.4.2)
52+
jekyll-sass-converter (= 1.5.2)
53+
jekyll-seo-tag (= 2.6.1)
54+
jekyll-sitemap (= 1.4.0)
55+
jekyll-swiss (= 1.0.0)
56+
jekyll-theme-architect (= 0.1.1)
57+
jekyll-theme-cayman (= 0.1.1)
58+
jekyll-theme-dinky (= 0.1.1)
59+
jekyll-theme-hacker (= 0.1.2)
60+
jekyll-theme-leap-day (= 0.1.1)
61+
jekyll-theme-merlot (= 0.1.1)
62+
jekyll-theme-midnight (= 0.1.1)
63+
jekyll-theme-minimal (= 0.1.1)
64+
jekyll-theme-modernist (= 0.1.1)
65+
jekyll-theme-primer (= 0.5.4)
66+
jekyll-theme-slate (= 0.1.1)
67+
jekyll-theme-tactile (= 0.1.1)
68+
jekyll-theme-time-machine (= 0.1.1)
69+
jekyll-titles-from-headings (= 0.5.3)
70+
jemoji (= 0.12.0)
71+
kramdown (= 2.3.0)
72+
kramdown-parser-gfm (= 1.1.0)
73+
liquid (= 4.0.3)
74+
mercenary (~> 0.3)
75+
minima (= 2.5.1)
76+
nokogiri (>= 1.10.4, < 2.0)
77+
rouge (= 3.23.0)
78+
terminal-table (~> 1.4)
79+
github-pages-health-check (1.16.1)
80+
addressable (~> 2.3)
81+
dnsruby (~> 1.60)
82+
octokit (~> 4.0)
83+
public_suffix (~> 3.0)
84+
typhoeus (~> 1.3)
85+
html-pipeline (2.14.0)
86+
activesupport (>= 2)
87+
nokogiri (>= 1.4)
2088
http_parser.rb (0.6.0)
2189
i18n (0.9.5)
2290
concurrent-ruby (~> 1.0)
@@ -33,17 +101,99 @@ GEM
33101
pathutil (~> 0.9)
34102
rouge (>= 1.7, < 4)
35103
safe_yaml (~> 1.0)
104+
jekyll-avatar (0.7.0)
105+
jekyll (>= 3.0, < 5.0)
106+
jekyll-coffeescript (1.1.1)
107+
coffee-script (~> 2.2)
108+
coffee-script-source (~> 1.11.1)
109+
jekyll-commonmark (1.3.1)
110+
commonmarker (~> 0.14)
111+
jekyll (>= 3.7, < 5.0)
112+
jekyll-commonmark-ghpages (0.1.6)
113+
commonmarker (~> 0.17.6)
114+
jekyll-commonmark (~> 1.2)
115+
rouge (>= 2.0, < 4.0)
116+
jekyll-default-layout (0.1.4)
117+
jekyll (~> 3.0)
36118
jekyll-feed (0.15.1)
37119
jekyll (>= 3.7, < 5.0)
120+
jekyll-gist (1.5.0)
121+
octokit (~> 4.2)
122+
jekyll-github-metadata (2.13.0)
123+
jekyll (>= 3.4, < 5.0)
124+
octokit (~> 4.0, != 4.4.0)
125+
jekyll-mentions (1.6.0)
126+
html-pipeline (~> 2.3)
127+
jekyll (>= 3.7, < 5.0)
128+
jekyll-optional-front-matter (0.3.2)
129+
jekyll (>= 3.0, < 5.0)
38130
jekyll-paginate (1.1.0)
131+
jekyll-readme-index (0.3.0)
132+
jekyll (>= 3.0, < 5.0)
133+
jekyll-redirect-from (0.16.0)
134+
jekyll (>= 3.3, < 5.0)
135+
jekyll-relative-links (0.6.1)
136+
jekyll (>= 3.3, < 5.0)
137+
jekyll-remote-theme (0.4.2)
138+
addressable (~> 2.0)
139+
jekyll (>= 3.5, < 5.0)
140+
jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
141+
rubyzip (>= 1.3.0, < 3.0)
39142
jekyll-sass-converter (1.5.2)
40143
sass (~> 3.4)
41-
jekyll-seo-tag (2.7.1)
42-
jekyll (>= 3.8, < 5.0)
144+
jekyll-seo-tag (2.6.1)
145+
jekyll (>= 3.3, < 5.0)
43146
jekyll-sitemap (1.4.0)
44147
jekyll (>= 3.7, < 5.0)
148+
jekyll-swiss (1.0.0)
149+
jekyll-theme-architect (0.1.1)
150+
jekyll (~> 3.5)
151+
jekyll-seo-tag (~> 2.0)
152+
jekyll-theme-cayman (0.1.1)
153+
jekyll (~> 3.5)
154+
jekyll-seo-tag (~> 2.0)
155+
jekyll-theme-dinky (0.1.1)
156+
jekyll (~> 3.5)
157+
jekyll-seo-tag (~> 2.0)
158+
jekyll-theme-hacker (0.1.2)
159+
jekyll (> 3.5, < 5.0)
160+
jekyll-seo-tag (~> 2.0)
161+
jekyll-theme-leap-day (0.1.1)
162+
jekyll (~> 3.5)
163+
jekyll-seo-tag (~> 2.0)
164+
jekyll-theme-merlot (0.1.1)
165+
jekyll (~> 3.5)
166+
jekyll-seo-tag (~> 2.0)
167+
jekyll-theme-midnight (0.1.1)
168+
jekyll (~> 3.5)
169+
jekyll-seo-tag (~> 2.0)
170+
jekyll-theme-minimal (0.1.1)
171+
jekyll (~> 3.5)
172+
jekyll-seo-tag (~> 2.0)
173+
jekyll-theme-modernist (0.1.1)
174+
jekyll (~> 3.5)
175+
jekyll-seo-tag (~> 2.0)
176+
jekyll-theme-primer (0.5.4)
177+
jekyll (> 3.5, < 5.0)
178+
jekyll-github-metadata (~> 2.9)
179+
jekyll-seo-tag (~> 2.0)
180+
jekyll-theme-slate (0.1.1)
181+
jekyll (~> 3.5)
182+
jekyll-seo-tag (~> 2.0)
183+
jekyll-theme-tactile (0.1.1)
184+
jekyll (~> 3.5)
185+
jekyll-seo-tag (~> 2.0)
186+
jekyll-theme-time-machine (0.1.1)
187+
jekyll (~> 3.5)
188+
jekyll-seo-tag (~> 2.0)
189+
jekyll-titles-from-headings (0.5.3)
190+
jekyll (>= 3.3, < 5.0)
45191
jekyll-watch (2.2.1)
46192
listen (~> 3.0)
193+
jemoji (0.12.0)
194+
gemoji (~> 3.0)
195+
html-pipeline (~> 2.2)
196+
jekyll (>= 3.0, < 5.0)
47197
kramdown (2.3.0)
48198
rexml
49199
kramdown-parser-gfm (1.1.0)
@@ -53,33 +203,59 @@ GEM
53203
rb-fsevent (~> 0.10, >= 0.10.3)
54204
rb-inotify (~> 0.9, >= 0.9.10)
55205
mercenary (0.3.6)
206+
mini_portile2 (2.4.0)
56207
minima (2.5.1)
57208
jekyll (>= 3.5, < 5.0)
58209
jekyll-feed (~> 0.9)
59210
jekyll-seo-tag (~> 2.1)
211+
minitest (5.14.2)
212+
multipart-post (2.1.1)
213+
nokogiri (1.10.10)
214+
mini_portile2 (~> 2.4.0)
215+
octokit (4.19.0)
216+
faraday (>= 0.9)
217+
sawyer (~> 0.8.0, >= 0.5.3)
60218
pathutil (0.16.2)
61219
forwardable-extended (~> 2.6)
62-
public_suffix (4.0.6)
220+
public_suffix (3.1.1)
63221
rb-fsevent (0.10.4)
64222
rb-inotify (0.10.1)
65223
ffi (~> 1.0)
66224
rexml (3.2.4)
67-
rouge (3.24.0)
225+
rouge (3.23.0)
226+
ruby-enum (0.8.0)
227+
i18n
228+
ruby2_keywords (0.0.2)
229+
rubyzip (2.3.0)
68230
safe_yaml (1.0.5)
69231
sass (3.7.4)
70232
sass-listen (~> 4.0.0)
71233
sass-listen (4.0.0)
72234
rb-fsevent (~> 0.9, >= 0.9.4)
73235
rb-inotify (~> 0.9, >= 0.9.7)
236+
sawyer (0.8.2)
237+
addressable (>= 2.3.5)
238+
faraday (> 0.8, < 2.0)
239+
simpleidn (0.1.1)
240+
unf (~> 0.1.4)
241+
terminal-table (1.8.0)
242+
unicode-display_width (~> 1.1, >= 1.1.1)
243+
thread_safe (0.3.6)
244+
typhoeus (1.4.0)
245+
ethon (>= 0.9.0)
246+
tzinfo (1.2.7)
247+
thread_safe (~> 0.1)
248+
unf (0.1.4)
249+
unf_ext
250+
unf_ext (0.0.7.7)
251+
unicode-display_width (1.7.0)
252+
zeitwerk (2.4.1)
74253

75254
PLATFORMS
76255
ruby
77256

78257
DEPENDENCIES
79-
beautiful-jekyll-theme (~> 5.x)
80-
jekyll (~> 3.8)
81-
jekyll-feed (~> 0.12)
82-
minima (~> 2.5)
258+
github-pages
83259
tzinfo (~> 1.2)
84260
tzinfo-data
85261
wdm (~> 0.1.1)

Diff for: _config.yml

+16-3
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,28 @@
1818
# You can create any custom variable you would like, and they will be accessible
1919
# in the templates via {{ site.myvariable }}.
2020

21-
theme: beautiful-jekyll-theme
21+
remote_theme: daattali/beautiful-jekyll
2222
plugins:
2323
- jekyll-feed
24+
- jekyll-paginate
25+
- jekyll-sitemap
2426
title: 极客分享博客
2527
author: hackershare
2628
remove-ads: true
27-
navbar-links:
28-
hackershare.dev: "https://hackershare.dev"
2929
permalink: pretty
30+
keywords: "hackershare, 极客分享博客, 书签分享, bookmark"
31+
rss-description: "极客分享(hackershare) 是一个基于书签社交的平台,你可以在这里发现技术圈新鲜事,也可以在这里检索工具和技术教程。"
32+
navbar-links:
33+
主页: "https://hackershare.dev"
34+
反馈: "https://cdn.hackershare.cn/wechat-hackershare.jpeg"
35+
social-network-links:
36+
37+
github: hackershare
38+
twitter: HackershareH
39+
share-links-active:
40+
twitter: true
41+
facebook: true
42+
linkedin: true
3043

3144
# Exclude from processing.
3245
# The following items will not be processed, by default.

Diff for: android-chrome-192x192.png

-15.7 KB
Binary file not shown.

Diff for: android-chrome-512x512.png

-48.5 KB
Binary file not shown.

Diff for: apple-touch-icon-precomposed.png

Whitespace-only changes.

Diff for: apple-touch-icon.png

-14.5 KB
Binary file not shown.

Diff for: favicon-16x16.png

-740 Bytes
Binary file not shown.

Diff for: favicon-32x32.png

-1.65 KB
Binary file not shown.

0 commit comments

Comments
 (0)