Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 91e3e3e

Browse files
committed
Import jekyll
1 parent d06a136 commit 91e3e3e

File tree

8 files changed

+335
-0
lines changed

8 files changed

+335
-0
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
_site
2+
.sass-cache
3+
.jekyll-cache
4+
.jekyll-metadata
5+
.gem
6+
vendor

404.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
permalink: /404.html
3+
layout: default
4+
---
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>

Gemfile

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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.3"
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
27+
28+
# Performance-booster for watching directories on Windows
29+
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
30+
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]

Gemfile.lock

Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.8.6)
5+
public_suffix (>= 2.0.2, < 6.0)
6+
colorator (1.1.0)
7+
concurrent-ruby (1.2.3)
8+
em-websocket (0.5.3)
9+
eventmachine (>= 0.12.9)
10+
http_parser.rb (~> 0)
11+
eventmachine (1.2.7)
12+
ffi (1.16.3)
13+
forwardable-extended (2.6.0)
14+
google-protobuf (4.26.1)
15+
rake (>= 13)
16+
google-protobuf (4.26.1-aarch64-linux)
17+
rake (>= 13)
18+
google-protobuf (4.26.1-arm64-darwin)
19+
rake (>= 13)
20+
google-protobuf (4.26.1-x86-linux)
21+
rake (>= 13)
22+
google-protobuf (4.26.1-x86_64-darwin)
23+
rake (>= 13)
24+
google-protobuf (4.26.1-x86_64-linux)
25+
rake (>= 13)
26+
http_parser.rb (0.8.0)
27+
i18n (1.14.4)
28+
concurrent-ruby (~> 1.0)
29+
jekyll (4.3.3)
30+
addressable (~> 2.4)
31+
colorator (~> 1.0)
32+
em-websocket (~> 0.5)
33+
i18n (~> 1.0)
34+
jekyll-sass-converter (>= 2.0, < 4.0)
35+
jekyll-watch (~> 2.0)
36+
kramdown (~> 2.3, >= 2.3.1)
37+
kramdown-parser-gfm (~> 1.0)
38+
liquid (~> 4.0)
39+
mercenary (>= 0.3.6, < 0.5)
40+
pathutil (~> 0.9)
41+
rouge (>= 3.0, < 5.0)
42+
safe_yaml (~> 1.0)
43+
terminal-table (>= 1.8, < 4.0)
44+
webrick (~> 1.7)
45+
jekyll-feed (0.17.0)
46+
jekyll (>= 3.7, < 5.0)
47+
jekyll-sass-converter (3.0.0)
48+
sass-embedded (~> 1.54)
49+
jekyll-seo-tag (2.8.0)
50+
jekyll (>= 3.8, < 5.0)
51+
jekyll-watch (2.2.1)
52+
listen (~> 3.0)
53+
kramdown (2.4.0)
54+
rexml
55+
kramdown-parser-gfm (1.1.0)
56+
kramdown (~> 2.0)
57+
liquid (4.0.4)
58+
listen (3.9.0)
59+
rb-fsevent (~> 0.10, >= 0.10.3)
60+
rb-inotify (~> 0.9, >= 0.9.10)
61+
mercenary (0.4.0)
62+
minima (2.5.1)
63+
jekyll (>= 3.5, < 5.0)
64+
jekyll-feed (~> 0.9)
65+
jekyll-seo-tag (~> 2.1)
66+
pathutil (0.16.2)
67+
forwardable-extended (~> 2.6)
68+
public_suffix (5.0.5)
69+
rake (13.2.1)
70+
rb-fsevent (0.11.2)
71+
rb-inotify (0.10.1)
72+
ffi (~> 1.0)
73+
rexml (3.2.6)
74+
rouge (4.2.1)
75+
safe_yaml (1.0.5)
76+
sass-embedded (1.74.1)
77+
google-protobuf (>= 3.25, < 5.0)
78+
rake (>= 13.0.0)
79+
sass-embedded (1.74.1-aarch64-linux-android)
80+
google-protobuf (>= 3.25, < 5.0)
81+
sass-embedded (1.74.1-aarch64-linux-gnu)
82+
google-protobuf (>= 3.25, < 5.0)
83+
sass-embedded (1.74.1-aarch64-linux-musl)
84+
google-protobuf (>= 3.25, < 5.0)
85+
sass-embedded (1.74.1-aarch64-mingw-ucrt)
86+
google-protobuf (>= 3.25, < 5.0)
87+
sass-embedded (1.74.1-arm-linux-androideabi)
88+
google-protobuf (>= 3.25, < 5.0)
89+
sass-embedded (1.74.1-arm-linux-gnueabihf)
90+
google-protobuf (>= 3.25, < 5.0)
91+
sass-embedded (1.74.1-arm-linux-musleabihf)
92+
google-protobuf (>= 3.25, < 5.0)
93+
sass-embedded (1.74.1-arm64-darwin)
94+
google-protobuf (>= 3.25, < 5.0)
95+
sass-embedded (1.74.1-riscv64-linux-android)
96+
google-protobuf (>= 3.25, < 5.0)
97+
sass-embedded (1.74.1-riscv64-linux-gnu)
98+
google-protobuf (>= 3.25, < 5.0)
99+
sass-embedded (1.74.1-riscv64-linux-musl)
100+
google-protobuf (>= 3.25, < 5.0)
101+
sass-embedded (1.74.1-x86-cygwin)
102+
google-protobuf (>= 3.25, < 5.0)
103+
sass-embedded (1.74.1-x86-linux-android)
104+
google-protobuf (>= 3.25, < 5.0)
105+
sass-embedded (1.74.1-x86-linux-gnu)
106+
google-protobuf (>= 3.25, < 5.0)
107+
sass-embedded (1.74.1-x86-linux-musl)
108+
google-protobuf (>= 3.25, < 5.0)
109+
sass-embedded (1.74.1-x86-mingw-ucrt)
110+
google-protobuf (>= 3.25, < 5.0)
111+
sass-embedded (1.74.1-x86_64-cygwin)
112+
google-protobuf (>= 3.25, < 5.0)
113+
sass-embedded (1.74.1-x86_64-darwin)
114+
google-protobuf (>= 3.25, < 5.0)
115+
sass-embedded (1.74.1-x86_64-linux-android)
116+
google-protobuf (>= 3.25, < 5.0)
117+
sass-embedded (1.74.1-x86_64-linux-gnu)
118+
google-protobuf (>= 3.25, < 5.0)
119+
sass-embedded (1.74.1-x86_64-linux-musl)
120+
google-protobuf (>= 3.25, < 5.0)
121+
terminal-table (3.0.2)
122+
unicode-display_width (>= 1.1.1, < 3)
123+
unicode-display_width (2.5.0)
124+
webrick (1.8.1)
125+
126+
PLATFORMS
127+
aarch64-linux
128+
aarch64-linux-android
129+
aarch64-linux-gnu
130+
aarch64-linux-musl
131+
aarch64-mingw-ucrt
132+
arm-linux-androideabi
133+
arm-linux-gnueabihf
134+
arm-linux-musleabihf
135+
arm64-darwin
136+
riscv64-linux-android
137+
riscv64-linux-gnu
138+
riscv64-linux-musl
139+
ruby
140+
x86-cygwin
141+
x86-linux
142+
x86-linux-android
143+
x86-linux-gnu
144+
x86-linux-musl
145+
x86-mingw-ucrt
146+
x86_64-cygwin
147+
x86_64-darwin
148+
x86_64-linux
149+
x86_64-linux-android
150+
x86_64-linux-gnu
151+
x86_64-linux-musl
152+
153+
DEPENDENCIES
154+
http_parser.rb (~> 0.6.0)
155+
jekyll (~> 4.3.3)
156+
jekyll-feed (~> 0.12)
157+
minima (~> 2.5)
158+
tzinfo (>= 1, < 3)
159+
tzinfo-data
160+
wdm (~> 0.1.1)
161+
162+
BUNDLED WITH
163+
2.5.7

_config.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Welcome to Jekyll!
2+
#
3+
# This config file is meant for settings that affect your whole blog, values
4+
# which you are expected to set up once and rarely edit after that. If you find
5+
# yourself editing this file very often, consider using Jekyll's data files
6+
# feature for the data you need to update frequently.
7+
#
8+
# For technical reasons, this file is *NOT* reloaded automatically when you use
9+
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10+
#
11+
# If you need help with YAML syntax, here are some quick references for you:
12+
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
13+
# https://learnxinyminutes.com/docs/yaml/
14+
#
15+
# Site settings
16+
# These are used to personalize your new site. If you look in the HTML files,
17+
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
18+
# You can create any custom variable you would like, and they will be accessible
19+
# in the templates via {{ site.myvariable }}.
20+
21+
title: Your awesome title
22+
23+
description: >- # this means to ignore newlines until "baseurl:"
24+
Write an awesome description for your new site here. You can edit this
25+
line in _config.yml. It will appear in your document head meta (for
26+
Google search results) and in your feed.xml site description.
27+
baseurl: "" # the subpath of your site, e.g. /blog
28+
url: "" # the base hostname & protocol for your site, e.g. http://example.com
29+
twitter_username: jekyllrb
30+
github_username: jekyll
31+
32+
# Build settings
33+
theme: minima
34+
plugins:
35+
- jekyll-feed
36+
37+
# Exclude from processing.
38+
# The following items will not be processed, by default.
39+
# Any item listed under the `exclude:` key here will be automatically added to
40+
# the internal "default list".
41+
#
42+
# Excluded items can be processed by explicitly listing the directories or
43+
# their entries' file path in the `include:` list.
44+
#
45+
# exclude:
46+
# - .sass-cache/
47+
# - .jekyll-cache/
48+
# - gemfiles/
49+
# - Gemfile
50+
# - Gemfile.lock
51+
# - node_modules/
52+
# - vendor/bundle/
53+
# - vendor/cache/
54+
# - vendor/gems/
55+
# - vendor/ruby/
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
layout: post
3+
title: "Welcome to Jekyll!"
4+
date: 2024-04-06 15:59:05 +0800
5+
categories: jekyll update
6+
---
7+
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
8+
9+
Jekyll requires blog post files to be named according to the following format:
10+
11+
`YEAR-MONTH-DAY-title.MARKUP`
12+
13+
Where `YEAR` is a four-digit number, `MONTH` and `DAY` are both two-digit numbers, and `MARKUP` is the file extension representing the format used in the file. After that, include the necessary front matter. Take a look at the source for this post to get an idea about how it works.
14+
15+
Jekyll also offers powerful support for code snippets:
16+
17+
{% highlight ruby %}
18+
def print_hi(name)
19+
puts "Hi, #{name}"
20+
end
21+
print_hi('Tom')
22+
#=> prints 'Hi, Tom' to STDOUT.
23+
{% endhighlight %}
24+
25+
Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk].
26+
27+
[jekyll-docs]: https://jekyllrb.com/docs/home
28+
[jekyll-gh]: https://github.com/jekyll/jekyll
29+
[jekyll-talk]: https://talk.jekyllrb.com/

about.markdown

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
layout: page
3+
title: About
4+
permalink: /about/
5+
---
6+
7+
This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](https://jekyllrb.com/)
8+
9+
You can find the source code for Minima at GitHub:
10+
[jekyll][jekyll-organization] /
11+
[minima](https://github.com/jekyll/minima)
12+
13+
You can find the source code for Jekyll at GitHub:
14+
[jekyll][jekyll-organization] /
15+
[jekyll](https://github.com/jekyll/jekyll)
16+
17+
18+
[jekyll-organization]: https://github.com/jekyll

index.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
# Feel free to add content and custom Front Matter to this file.
3+
# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults
4+
5+
layout: home
6+
---

0 commit comments

Comments
 (0)