Skip to content

Commit 7420a08

Browse files
committed
Update jekyll and format
Signed-off-by: Ovenoboyo <ovenoboyo@gmail.com>
1 parent 28cc6f9 commit 7420a08

7 files changed

Lines changed: 61 additions & 126 deletions

File tree

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ source "https://rubygems.org"
77
#
88
# This will help ensure the proper Jekyll version is running.
99
# Happy Jekylling!
10-
gem "github-pages", "~> 225", group: :jekyll_plugins
10+
gem "github-pages", group: :jekyll_plugins
1111
# This is the default theme for new Jekyll sites. You may change this to anything you like.
1212
gem "minima"
1313
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
@@ -37,3 +37,4 @@ gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
3737
gem "kramdown", "~> 2.3"
3838
gem "rouge", "~> 3.26"
3939
gem 'jekyll-titles-from-headings'
40+
gem 'webrick'

Gemfile.lock

Lines changed: 29 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
activesupport (6.0.4.7)
4+
activesupport (6.0.5.1)
55
concurrent-ruby (~> 1.0, >= 1.0.2)
66
i18n (>= 0.7, < 2)
77
minitest (~> 5.1)
@@ -14,46 +14,27 @@ GEM
1414
execjs
1515
coffee-script-source (1.11.1)
1616
colorator (1.1.0)
17-
commonmarker (0.23.4)
17+
commonmarker (0.23.5)
1818
concurrent-ruby (1.1.10)
1919
dnsruby (1.61.9)
2020
simpleidn (~> 0.1)
2121
em-websocket (0.5.3)
2222
eventmachine (>= 0.12.9)
23-
http_parser.rb (~> 0)
23+
http_parser.rb
2424
ethon (0.15.0)
2525
ffi (>= 1.15.0)
2626
eventmachine (1.2.7)
2727
execjs (2.8.1)
28-
faraday (1.10.0)
29-
faraday-em_http (~> 1.0)
30-
faraday-em_synchrony (~> 1.0)
31-
faraday-excon (~> 1.1)
32-
faraday-httpclient (~> 1.0)
33-
faraday-multipart (~> 1.0)
34-
faraday-net_http (~> 1.0)
35-
faraday-net_http_persistent (~> 1.0)
36-
faraday-patron (~> 1.0)
37-
faraday-rack (~> 1.0)
38-
faraday-retry (~> 1.0)
28+
faraday (2.5.2)
29+
faraday-net_http (>= 2.0, < 3.1)
3930
ruby2_keywords (>= 0.0.4)
40-
faraday-em_http (1.0.0)
41-
faraday-em_synchrony (1.0.0)
42-
faraday-excon (1.1.0)
43-
faraday-httpclient (1.0.1)
44-
faraday-multipart (1.0.3)
45-
multipart-post (>= 1.2, < 3)
46-
faraday-net_http (1.0.1)
47-
faraday-net_http_persistent (1.2.0)
48-
faraday-patron (1.0.0)
49-
faraday-rack (1.0.0)
50-
faraday-retry (1.0.3)
31+
faraday-net_http (3.0.0)
5132
ffi (1.15.5)
5233
forwardable-extended (2.6.0)
5334
gemoji (3.0.1)
54-
github-pages (225)
35+
github-pages (227)
5536
github-pages-health-check (= 1.17.9)
56-
jekyll (= 3.9.0)
37+
jekyll (= 3.9.2)
5738
jekyll-avatar (= 0.7.0)
5839
jekyll-coffeescript (= 1.1.1)
5940
jekyll-commonmark-ghpages (= 0.2.0)
@@ -88,12 +69,12 @@ GEM
8869
jekyll-theme-time-machine (= 0.2.0)
8970
jekyll-titles-from-headings (= 0.5.3)
9071
jemoji (= 0.12.0)
91-
kramdown (= 2.3.1)
72+
kramdown (= 2.3.2)
9273
kramdown-parser-gfm (= 1.1.0)
9374
liquid (= 4.0.3)
9475
mercenary (~> 0.3)
9576
minima (= 2.5.1)
96-
nokogiri (>= 1.12.5, < 2.0)
77+
nokogiri (>= 1.13.6, < 2.0)
9778
rouge (= 3.26.0)
9879
terminal-table (~> 1.4)
9980
github-pages-health-check (1.17.9)
@@ -102,13 +83,13 @@ GEM
10283
octokit (~> 4.0)
10384
public_suffix (>= 3.0, < 5.0)
10485
typhoeus (~> 1.3)
105-
html-pipeline (2.14.1)
86+
html-pipeline (2.14.2)
10687
activesupport (>= 2)
10788
nokogiri (>= 1.4)
10889
http_parser.rb (0.8.0)
10990
i18n (0.9.5)
11091
concurrent-ruby (~> 1.0)
111-
jekyll (3.9.0)
92+
jekyll (3.9.2)
11293
addressable (~> 2.4)
11394
colorator (~> 1.0)
11495
em-websocket (~> 0.5)
@@ -216,7 +197,7 @@ GEM
216197
gemoji (~> 3.0)
217198
html-pipeline (~> 2.2)
218199
jekyll (>= 3.0, < 5.0)
219-
kramdown (2.3.1)
200+
kramdown (2.3.2)
220201
rexml
221202
kramdown-parser-gfm (1.1.0)
222203
kramdown (~> 2.0)
@@ -229,20 +210,19 @@ GEM
229210
jekyll (>= 3.5, < 5.0)
230211
jekyll-feed (~> 0.9)
231212
jekyll-seo-tag (~> 2.1)
232-
minitest (5.15.0)
233-
multipart-post (2.1.1)
234-
nokogiri (1.13.4-x86_64-linux)
213+
minitest (5.16.3)
214+
nokogiri (1.13.8-x86_64-linux)
235215
racc (~> 1.4)
236-
octokit (4.22.0)
237-
faraday (>= 0.9)
238-
sawyer (~> 0.8.0, >= 0.5.3)
216+
octokit (4.25.1)
217+
faraday (>= 1, < 3)
218+
sawyer (~> 0.9)
239219
pathutil (0.16.2)
240-
forwardable-extended (~> 2.6)
241-
public_suffix (4.0.6)
220+
forwardable-extended (>= 2.6)
221+
public_suffix (4.0.7)
242222
racc (1.6.0)
243223
rb-fsevent (0.11.1)
244224
rb-inotify (0.10.1)
245-
ffi (~> 1.0)
225+
ffi (>= 1.0)
246226
rexml (3.2.5)
247227
rouge (3.26.0)
248228
ruby2_keywords (0.0.5)
@@ -253,29 +233,30 @@ GEM
253233
sass-listen (4.0.0)
254234
rb-fsevent (~> 0.9, >= 0.9.4)
255235
rb-inotify (~> 0.9, >= 0.9.7)
256-
sawyer (0.8.2)
236+
sawyer (0.9.2)
257237
addressable (>= 2.3.5)
258-
faraday (> 0.8, < 2.0)
238+
faraday (>= 0.17.3, < 3)
259239
simpleidn (0.2.1)
260240
unf (~> 0.1.4)
261241
terminal-table (1.8.0)
262242
unicode-display_width (~> 1.1, >= 1.1.1)
263243
thread_safe (0.3.6)
264244
typhoeus (1.4.0)
265245
ethon (>= 0.9.0)
266-
tzinfo (1.2.9)
246+
tzinfo (1.2.10)
267247
thread_safe (~> 0.1)
268248
unf (0.1.4)
269249
unf_ext
270-
unf_ext (0.0.8.1)
250+
unf_ext (0.0.8.2)
271251
unicode-display_width (1.8.0)
272-
zeitwerk (2.5.4)
252+
webrick (1.7.0)
253+
zeitwerk (2.6.0)
273254

274255
PLATFORMS
275256
x86_64-linux
276257

277258
DEPENDENCIES
278-
github-pages (~> 225)
259+
github-pages
279260
http_parser.rb (~> 0.6.0)
280261
jekyll-commonmark-ghpages
281262
jekyll-feed (~> 0.12)
@@ -287,6 +268,7 @@ DEPENDENCIES
287268
tzinfo (~> 1.2)
288269
tzinfo-data
289270
wdm (~> 0.1.1)
271+
webrick
290272

291273
BUNDLED WITH
292274
2.3.11

_includes/custom-head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<link rel="stylesheet" type="text/css" href="/assets/css/index.css" />
1+
<link rel="stylesheet" type="text/css" href="/assets/css/index.css" />

_includes/footer.html

Lines changed: 9 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,7 @@
33
<div id="left__footer__content" class="footer__content">
44
<a href="#home__page">
55
<span class="title__logo">
6-
<img
7-
src="/assets/img/logo.svg"
8-
title="Moosync"
9-
alt=""
10-
id="footer__logo"
11-
class="logo__img"
12-
/>
6+
<img src="/assets/img/logo.svg" title="Moosync" alt="" id="footer__logo" class="logo__img" />
137
<span class="title">moosync</span>
148
</span>
159
</a>
@@ -36,46 +30,26 @@
3630
</form> -->
3731
<div class="general__info__links">
3832
<div class="footer__general">
39-
<span id="footer__info__text__heading" class="info__text__1"
40-
>general</span
41-
>
33+
<span id="footer__info__text__heading" class="info__text__1">general</span>
4234
<ul class="general__info__link__list">
4335
<!-- <li class="list__items">About Us</li> -->
4436
<li class="list__items">
45-
<a
46-
href="https://www.iubenda.com/privacy-policy/70189564/full-legal"
47-
target="_blank"
48-
rel="noopener noreferrer"
49-
>Privacy Policy</a
50-
>
37+
<a href="https://www.iubenda.com/privacy-policy/70189564/full-legal" target="_blank"
38+
rel="noopener noreferrer">Privacy Policy</a>
5139
</li>
5240
<li class="list__items">
53-
<a href="/docs/index.html" rel="noopener noreferrer"
54-
>Extension Docs</a
55-
>
41+
<a href="/docs/index.html" rel="noopener noreferrer">Extension Docs</a>
5642
</li>
5743
</ul>
5844
</div>
5945
<div id="right__footer__general" class="footer__general">
60-
<span id="footer__info__text__heading" class="info__text__1"
61-
>community</span
62-
>
46+
<span id="footer__info__text__heading" class="info__text__1">community</span>
6347
<ul class="general__info__link__list">
6448
<li class="list__items">
65-
<a
66-
href="https://github.com/Moosync"
67-
target="_blank"
68-
rel="noopener noreferrer"
69-
>GitHub Repositories</a
70-
>
49+
<a href="https://github.com/Moosync" target="_blank" rel="noopener noreferrer">GitHub Repositories</a>
7150
</li>
7251
<li class="list__items">
73-
<a
74-
href="https://discord.gg/HsbqbRune3"
75-
target="_blank"
76-
rel="noopener noreferrer"
77-
>Join us on Discord</a
78-
>
52+
<a href="https://discord.gg/HsbqbRune3" target="_blank" rel="noopener noreferrer">Join us on Discord</a>
7953
</li>
8054
</ul>
8155
</div>
@@ -91,4 +65,4 @@
9165
</p>
9266
</div>
9367
<span id="copyright__text">Copyright &copy; 2022 Moosync</span>
94-
</footer>
68+
</footer>

_includes/head.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
<meta charset="utf-8" />
33
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
44
<meta name="viewport" content="width=device-width, initial-scale=1" />
5-
{%- seo -%} <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url
6-
}}"> {%- feed_meta -%} {%- if jekyll.environment == 'production' and
5+
{%- seo -%}
6+
<link rel="stylesheet" href="{{ " /assets/main.css" | relative_url }}"> {%- feed_meta -%} {%- if jekyll.environment ==
7+
'production' and
78
site.google_analytics -%} {%- include google-analytics.html -%} {%- endif -%}
89
{%- include custom-head.html -%}
9-
</head>
10+
</head>

_includes/header.html

Lines changed: 12 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -2,60 +2,38 @@
22
{%- assign default_paths = site.pages | map: "path" -%} {%- assign page_paths
33
= site.header_pages | default: default_paths -%} {%- assign titles_size =
44
site.pages | map: 'title' | join: '' | size -%}
5-
<a href="#">
5+
<a href="/">
66
<span class="title__logo">
77
<span class="logo">
8-
<img
9-
src="/assets/img/logo.svg"
10-
title="Moosync"
11-
alt="moosync logo"
12-
class="logo__img"
13-
/>
8+
<img src="/assets/img/logo.svg" title="Moosync" alt="moosync logo" class="logo__img" />
149
</span>
1510
<span class="title">moosync</span>
1611
</span>
1712
</a>
1813
<div class="navbar__buttons">
19-
<button class="navigation__buttons"><a href="#">Home</a></button>
14+
<button class="navigation__buttons"><a href="/">Home</a></button>
2015
<button class="navigation__buttons">
21-
<a
22-
href="https://www.iubenda.com/privacy-policy/70189564/full-legal"
23-
target="_blank"
24-
rel="noopener noreferrer"
25-
>Privacy policy</a
26-
>
16+
<a href="https://www.iubenda.com/privacy-policy/70189564/full-legal" target="_blank"
17+
rel="noopener noreferrer">Privacy policy</a>
2718
</button>
2819
<button class="navigation__buttons">
2920
<a href="/docs/index.html" rel="noopener noreferrer">Extension docs</a>
3021
</button>
3122
<button class="navigation__buttons">
3223
<a href="https://github.com/Moosync" rel="noopener noreferrer">Github</a>
3324
</button>
34-
<button
35-
id="download__btn"
36-
class="navigation__buttons"
37-
onclick="window.location.href='/'"
38-
>
25+
<button id="download__btn" class="navigation__buttons" onclick="window.location.href='/'">
3926
Download
4027
</button>
4128
</div>
4229
<div class="moosync__navbar-mobileScreen">
4330
<img src="/assets/img/hamburgerIcon.svg" alt="Menu" id="hamburger-open" />
44-
<div
45-
class="moosync__navbar-mobileScreen-overlayClose flex__center slide__bottom"
46-
id="menu-overlay"
47-
>
48-
<img
49-
src="/assets/img/hamburgerCloseIcon.svg"
50-
alt="Close"
51-
id="hamburger-close"
52-
/>
31+
<div class="moosync__navbar-mobileScreen-overlayClose flex__center slide__bottom" id="menu-overlay">
32+
<img src="/assets/img/hamburgerCloseIcon.svg" alt="Close" id="hamburger-close" />
5333
<ul class="moosync__navbar-mobileScreen-links">
5434
<li class="p__normal" id="home"><a href="#">Home</a></li>
5535
<li class="p__normal" id="privacy">
56-
<a href="https://www.iubenda.com/privacy-policy/70189564/full-legal"
57-
>Privacy Policy</a
58-
>
36+
<a href="https://www.iubenda.com/privacy-policy/70189564/full-legal">Privacy Policy</a>
5937
</li>
6038
<li class="p__normal" id="documentation">
6139
<a href="/docs/index.html">Extension Docs</a>
@@ -64,17 +42,12 @@
6442
<a href="https://github.com/Moosync/Moosync">Github</a>
6543
</li>
6644
<li id="download">
67-
<button
68-
type="button"
69-
name="button"
70-
class="navigation__buttons"
71-
id="download__btn"
72-
onclick="window.location.href='/'"
73-
>
45+
<button type="button" name="button" class="navigation__buttons" id="download__btn"
46+
onclick="window.location.href='/'">
7447
Download
7548
</button>
7649
</li>
7750
</ul>
7851
</div>
7952
</div>
80-
</nav>
53+
</nav>

assets/css/index.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ a:hover {
5757
z-index: 999;
5858
}
5959

60+
.nav__bar > * a:hover {
61+
text-decoration: none;
62+
}
63+
6064
.login__navbar {
6165
background-color: none;
6266
background-image: linear-gradient(

0 commit comments

Comments
 (0)