Skip to content

Commit f15645d

Browse files
committed
install jekyll Yat theme
1 parent 15926da commit f15645d

File tree

96 files changed

+5532
-108
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+5532
-108
lines changed

Diff for: .editorconfig

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
indent_size = 2
9+
indent_style = space
10+
insert_final_newline = true
11+
trim_trailing_whitespace = true
12+
13+
[*.md]
14+
trim_trailing_whitespace = false

Diff for: .github/FUNDING.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# These are supported funding model platforms
2+
3+
github: jeffreytse # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: jeffreytse
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: jeffreytse
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: jeffreytse
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
13+

Diff for: .github/workflows/build-jekyll.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Github Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- master # Here source code branch is `master`, it could be other branch
7+
8+
jobs:
9+
build_and_deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
# Use GitHub Actions' cache to cache dependencies on servers
15+
- uses: actions/cache@v1
16+
with:
17+
path: vendor/bundle
18+
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
19+
restore-keys: |
20+
${{ runner.os }}-gems-
21+
22+
# Use GitHub Deploy Action to build and deploy to Github
23+
- uses: jeffreytse/jekyll-deploy-action@master
24+
with:
25+
provider: 'github'
26+
token: ${{ secrets.GITHUB_TOKEN }} # It's your Personal Access Token(PAT)
27+
repository: '' # Default is current repository
28+
branch: 'gh-pages' # Default is gh-pages for github provider
29+
jekyll_src: './' # Default is root directory
30+
jekyll_cfg: '_config.yml' # Default is _config.yml
31+
jekyll_baseurl: '/jekyll-theme-yat' # Default is empty
32+
cname: '' # Default is to not use a cname
33+
actor: '' # Default is the GITHUB_ACTOR

Diff for: .gitignore

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
_site
1+
*.gem
2+
.bundle
23
.sass-cache
3-
.jekyll-cache
4-
.jekyll-metadata
5-
vendor
4+
_site
5+
Gemfile.lock

Diff for: 404.html

+1-23
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,3 @@
11
---
2-
permalink: /404.html
3-
layout: default
2+
layout: 404
43
---
5-
6-
<style type="text/css" media="screen">
7-
.container {
8-
margin: 10px auto;
9-
max-width: 600px;
10-
text-align: center;
11-
}
12-
h1 {
13-
margin: 30px 0;
14-
font-size: 4em;
15-
line-height: 1;
16-
letter-spacing: -1px;
17-
}
18-
</style>
19-
20-
<div class="container">
21-
<h1>404</h1>
22-
23-
<p><strong>Page not found :(</strong></p>
24-
<p>The requested page could not be found.</p>
25-
</div>

Diff for: Gemfile

+3-31
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,5 @@
1-
source "https://rubygems.org"
2-
# Hello! This is where you manage which Jekyll version is used to run.
3-
# When you want to use a different version, change it below, save the
4-
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
5-
#
6-
# bundle exec jekyll serve
7-
#
8-
# This will help ensure the proper Jekyll version is running.
9-
# Happy Jekylling!
10-
gem "jekyll", "~> 4.3.2"
11-
# This is the default theme for new Jekyll sites. You may change this to anything you like.
12-
gem "minima", "~> 2.5"
13-
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
14-
# uncomment the line below. To upgrade, run `bundle update github-pages`.
15-
# gem "github-pages", group: :jekyll_plugins
16-
# If you have any plugins, put them here!
17-
group :jekyll_plugins do
18-
gem "jekyll-feed", "~> 0.12"
19-
end
20-
21-
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
22-
# and associated library.
23-
platforms :mingw, :x64_mingw, :mswin, :jruby do
24-
gem "tzinfo", ">= 1", "< 3"
25-
gem "tzinfo-data"
26-
end
1+
# frozen_string_literal: true
272

28-
# Performance-booster for watching directories on Windows
29-
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
3+
source "https://rubygems.org"
4+
gemspec
305

31-
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
32-
# do not have a Java counterpart.
33-
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]

Diff for: Gemfile.lock

+28-16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
PATH
2+
remote: .
3+
specs:
4+
jekyll-theme-yat (1.10.0)
5+
jekyll (> 3.5, < 5.0)
6+
jekyll-feed (~> 0.9)
7+
jekyll-paginate (~> 1.1)
8+
jekyll-seo-tag (~> 2.1)
9+
jekyll-sitemap (~> 1.3)
10+
jekyll-spaceship (~> 0.2)
11+
112
GEM
213
remote: https://rubygems.org/
314
specs:
@@ -11,6 +22,7 @@ GEM
1122
eventmachine (1.2.7)
1223
ffi (1.16.3-x64-mingw-ucrt)
1324
forwardable-extended (2.6.0)
25+
gemoji (3.0.1)
1426
google-protobuf (3.25.0-x64-mingw-ucrt)
1527
http_parser.rb (0.8.0)
1628
i18n (1.14.1)
@@ -33,10 +45,18 @@ GEM
3345
webrick (~> 1.7)
3446
jekyll-feed (0.17.0)
3547
jekyll (>= 3.7, < 5.0)
48+
jekyll-paginate (1.1.0)
3649
jekyll-sass-converter (3.0.0)
3750
sass-embedded (~> 1.54)
3851
jekyll-seo-tag (2.8.0)
3952
jekyll (>= 3.8, < 5.0)
53+
jekyll-sitemap (1.4.0)
54+
jekyll (>= 3.7, < 5.0)
55+
jekyll-spaceship (0.10.2)
56+
gemoji (~> 3.0)
57+
jekyll (>= 3.6, < 5.0)
58+
nokogiri (~> 1.6)
59+
rainbow (~> 3.0)
4060
jekyll-watch (2.2.1)
4161
listen (~> 3.0)
4262
kramdown (2.4.0)
@@ -48,13 +68,14 @@ GEM
4868
rb-fsevent (~> 0.10, >= 0.10.3)
4969
rb-inotify (~> 0.9, >= 0.9.10)
5070
mercenary (0.4.0)
51-
minima (2.5.1)
52-
jekyll (>= 3.5, < 5.0)
53-
jekyll-feed (~> 0.9)
54-
jekyll-seo-tag (~> 2.1)
71+
nokogiri (1.15.4-x64-mingw-ucrt)
72+
racc (~> 1.4)
5573
pathutil (0.16.2)
5674
forwardable-extended (~> 2.6)
5775
public_suffix (5.0.3)
76+
racc (1.7.3)
77+
rainbow (3.1.1)
78+
rake (12.3.3)
5879
rb-fsevent (0.11.2)
5980
rb-inotify (0.10.1)
6081
ffi (~> 1.0)
@@ -65,25 +86,16 @@ GEM
6586
google-protobuf (~> 3.23)
6687
terminal-table (3.0.2)
6788
unicode-display_width (>= 1.1.1, < 3)
68-
tzinfo (2.0.6)
69-
concurrent-ruby (~> 1.0)
70-
tzinfo-data (1.2023.3)
71-
tzinfo (>= 1.0.0)
7289
unicode-display_width (2.5.0)
73-
wdm (0.1.1)
7490
webrick (1.8.1)
7591

7692
PLATFORMS
7793
x64-mingw-ucrt
7894

7995
DEPENDENCIES
80-
http_parser.rb (~> 0.6.0)
81-
jekyll (~> 4.3.2)
82-
jekyll-feed (~> 0.12)
83-
minima (~> 2.5)
84-
tzinfo (>= 1, < 3)
85-
tzinfo-data
86-
wdm (~> 0.1.1)
96+
bundler (>= 1.6, < 3.0)
97+
jekyll-theme-yat!
98+
rake (>= 12.0, < 13.0)
8799

88100
BUNDLED WITH
89101
2.4.22

Diff for: LICENSE.txt

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2019 Jeffrey Tse
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

0 commit comments

Comments
 (0)