Skip to content

Commit

Permalink
周二-03-05 15:23:20
Browse files Browse the repository at this point in the history
  • Loading branch information
asdqwe123456 committed Mar 5, 2024
1 parent d9d7558 commit fb9e3f0
Show file tree
Hide file tree
Showing 347 changed files with 22,139 additions and 398 deletions.
18 changes: 13 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
# editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
indent_size = 2
trim_trailing_whitespace = true
# Unix-style newlines with a newline ending every file
end_of_line = lf
insert_final_newline = true

[*.{js,css,scss}]
quote_type = single

[*.{yml,yaml}]
quote_type = double

[*.md]
trim_trailing_whitespace = false
16 changes: 16 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Set default behavior to automatically normalize line endings.
* text=auto

# Force bash scripts to always use LF line endings so that if a repo is accessed
# in Unix via a file share from Windows, the scripts will work.
*.sh text eol=lf

# Force batch scripts to always use CRLF line endings so that if a repo is accessed
# in Windows via a file share from Linux, the scripts will work.
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf

# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.ico binary
57 changes: 16 additions & 41 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,46 +1,21 @@
# Ignore docs files
_gh_pages
_site
.ruby-version
.sass-cache
.jekyll-cache

# Numerous always-ignore extensions
*.diff
*.err
*.orig
*.log
*.rej
*.swo
*.swp
*.zip
*.vi
*~
# Bundler cache
.bundle
vendor
Gemfile.lock

# OS or Editor folders
.DS_Store
._*
Thumbs.db
.cache
.project
.settings
.tmproj
*.esproj
nbproject
*.sublime-project
*.sublime-workspace
.idea

# Komodo
*.komodoproject
.komodotools
# Jekyll cache
.jekyll-cache
_site

# grunt-html-validation
validation-status.json
validation-report.json
# RubyGems
*.gem

# Folders to ignore
# NPM dependencies
node_modules
package-lock.json

# Ruby gems
*.gem
# IDE configurations
.idea

# Misc
assets/js/dist
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "assets/lib"]
path = assets/lib
url = https://github.com/cotes2020/chirpy-static-assets.git
8 changes: 8 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"commands-show-output": false,
"blanks-around-fences": false,
"line-length": false,
"no-inline-html": {
"allowed_elements": ["kbd", "sub"]
}
}
Empty file added .nojekyll
Empty file.
21 changes: 20 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
# frozen_string_literal: true

source "https://rubygems.org"

gemspec

gem 'jekyll-compose', group: [:jekyll_plugins]
group :test do
gem "html-proofer", "~> 4.4"
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", ">= 1", "< 3"
gem "tzinfo-data"
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]

# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
# do not have a Java counterpart.
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2019 Cotes Chung

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@




#### 生成网站图标

[**Chirpy**](https://github.com/cotes2020/jekyll-theme-chirpy/)[图标](https://www.favicon-generator.org/about/)放在目录中。您可能希望用自己的替换它们。以下部分将指导您创建和替换默认网站图标。`assets/img/favicons/`

#### 生成网站图标

准备一张大小为 512x512 或更大的方形图像(PNG、JPG 或 SVG),然后转到在线工具 [**Real Favicon Generator**](https://realfavicongenerator.net/) 并单击按钮上传您的图像文件。Select your Favicon image

在下一步中,网页将显示所有使用场景。您可以保留默认选项,滚动到页面底部,然后单击按钮以生成网站图标。Generate your Favicons and HTML code

#### 下载并替换

下载生成的包,解压并从解压文件中删除以下两个:

- `browserconfig.xml`
- `site.webmanifest`

然后复制剩余的图像文件 ( 和 ) 以覆盖 Jekyll 站点目录中的原始文件。如果您的 Jekyll 站点还没有此目录,只需创建一个。`.PNG``.ICO``assets/img/favicons/`







## 修改 V1-2023-7-31

- 因为上一个模板渲染代码块难以辨认, 使用了另一个模板[vszhub/not-pure-poole: A simple, beautiful, and powerful Jekyll theme for blogs. (github.com)](https://github.com/vszhub/not-pure-poole)
Expand Down
Loading

0 comments on commit fb9e3f0

Please sign in to comment.