Skip to content

Commit eddd3e6

Browse files
committed
Runbing's Blog
1 parent 3261518 commit eddd3e6

7 files changed

Lines changed: 28 additions & 50 deletions

File tree

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ gem "jekyll"
1515
# This is the default theme for new Jekyll sites. You may change this to anything you like.
1616
# gem "minima", "~> 2.0"
1717
# gem "minima"
18-
gem "minima", github: "jekyll/minima", ref: "1e8a445"
18+
gem "minima", github: "jekyll/minima"
19+
# gem "minima", github: "jekyll/minima", ref: "1e8a445"
1920

2021
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
2122
# uncomment the line below. To upgrade, run `bundle update github-pages`.

_config.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,25 @@ collections:
3131
output: true
3232
permalink: /buzzes/:title.html
3333

34-
header_pages:
35-
- buzzes.md
36-
- docs.md
37-
- links.md
38-
- music.md
39-
- gallery.md
40-
- tags.md
41-
- categories.md
42-
- about.md
43-
4434
theme: minima
4535
minima:
4636
# skin: solarized-dark
4737
social_links:
48-
- { platform: github, user_url: "https://github.com/runbing" }
49-
- { platform: twitter, user_url: "https://twitter.com/runbing" }
50-
- { platform: rss, user_url: "/feed.xml" }
38+
- title: github
39+
icon: github
40+
url: "https://github.com/runbing"
41+
- title: twitter
42+
icon: x-twitter
43+
url: "https://twitter.com/runbing"
44+
nav_pages:
45+
- buzzes.md
46+
- docs.md
47+
- links.md
48+
- music.md
49+
- gallery.md
50+
- tags.md
51+
- categories.md
52+
- about.md
5153

5254
google_analytics: G-PFKX9MMHXH
5355

_includes/custom-head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<link href="https://fonts.googleapis.com/css?family=Domine|Asap|Noto+Sans+SC|Noto+Serif+SC&display=swap" rel="stylesheet">
2-
<link rel="stylesheet" href="{{ "/assets/css/common.css" }}">
2+
<link rel="stylesheet" href="{{ '/assets/css/common.css' }}">

_includes/footer.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
<link id="fa-stylesheet" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@latest/css/all.min.css">
2+
13
<footer class="site-footer h-card">
2-
<data class="u-url" href="{{ "/" | relative_url }}"></data>
4+
<data class="u-url" value="{{ '/' | relative_url }}"></data>
35

46
<div class="wrapper">
57

@@ -8,7 +10,11 @@
810
<p class="feed-subscribe">
911
<a href="{{ site.feed.path | default: 'feed.xml' | absolute_url }}">
1012
<svg class="svg-icon orange">
11-
<use xlink:href="{{ 'assets/minima-social-icons.svg#rss' | relative_url }}"></use>
13+
<path d="M12.8 16C12.8 8.978 7.022 3.2 0 3.2V0c8.777 0 16 7.223 16 16h-3.2zM2.194
14+
11.61c1.21 0 2.195.985 2.195 2.196 0 1.21-.99 2.194-2.2 2.194C.98 16 0 15.017 0
15+
13.806c0-1.21.983-2.195 2.194-2.195zM10.606
16+
16h-3.11c0-4.113-3.383-7.497-7.496-7.497v-3.11c5.818 0 10.606 4.79 10.606 10.607z"
17+
/>
1218
</svg><span>Subscribe</span>
1319
</a>
1420
</p>
@@ -36,4 +42,4 @@
3642

3743
</footer>
3844

39-
<script src="{{ "/assets/js/common.js" | relative_url }}"></script>
45+
<script src="{{ '/assets/js/common.js' | relative_url }}"></script>

_includes/header.html

Lines changed: 0 additions & 31 deletions
This file was deleted.

_layouts/gallery.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@
178178
img.loading = 'lazy';
179179

180180
img.addEventListener('load', () => {
181-
console.log(placeholder);
182181
placeholder.classList.add('hidden');
183182
img.classList.add('loaded');
184183
});

_sass/_global.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ body {
22
font-family: Domine, Asap, "Noto Sans SC", "Noto Serif SC";
33
}
44

5+
56
#music-player {
67
position: sticky;
78
top: 0px;

0 commit comments

Comments
 (0)