-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 0173247
Showing
20 changed files
with
992 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Publish GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: | ||
- pages | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.0' | ||
bundler-cache: true | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '20' | ||
- name: Npm | ||
run: | | ||
npm install | ||
- name: Setup Pages | ||
id: pages | ||
uses: actions/configure-pages@v3 | ||
with: | ||
enablement: true | ||
- name: Build Site | ||
run: | | ||
bundle exec jekyll build --trace --profile --baseurl "${{ steps.pages.outputs.base_path }}" | ||
env: | ||
JEKYLL_ENV: production | ||
- uses: actions/upload-pages-artifact@v1 | ||
|
||
publish: | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/pages' | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Jekyll | ||
_drafts/ | ||
_site/ | ||
.sass-cache/ | ||
.jekyll-cache/ | ||
.jekyll-metadata | ||
*.draft.md | ||
|
||
# Bundler | ||
.bundle/ | ||
vendor/ | ||
|
||
# Npm | ||
node_modules/ | ||
|
||
# Visual Studio | ||
.vs/ | ||
Debug/ | ||
|
||
# Visual Studio Code | ||
.vscode/ | ||
*.code-workspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"arrowParens": "always", | ||
"bracketSpacing": true, | ||
"endOfLine": "lf", | ||
"htmlWhitespaceSensitivity": "css", | ||
"insertPragma": false, | ||
"singleAttributePerLine": false, | ||
"bracketSameLine": false, | ||
"jsxBracketSameLine": false, | ||
"jsxSingleQuote": false, | ||
"printWidth": 120, | ||
"proseWrap": "preserve", | ||
"quoteProps": "preserve", | ||
"requirePragma": false, | ||
"semi": true, | ||
"singleQuote": false, | ||
"tabWidth": 2, | ||
"trailingComma": "es5", | ||
"useTabs": false, | ||
"vueIndentScriptAndStyle": false, | ||
"parser": "babel" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
source "https://rubygems.org" | ||
gem "jekyll", "~> 4.0", group: :jekyll_plugins | ||
gem "webrick", "~> 1.8" | ||
gem "kramdown", "~> 2.4" | ||
gem "kramdown-parser-gfm", "~> 1.1" | ||
group :jekyll_plugins do | ||
gem "jekyll-relative-links" | ||
gem "jekyll-sass-converter" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
addressable (2.8.6) | ||
public_suffix (>= 2.0.2, < 6.0) | ||
colorator (1.1.0) | ||
concurrent-ruby (1.2.3) | ||
em-websocket (0.5.3) | ||
eventmachine (>= 0.12.9) | ||
http_parser.rb (~> 0) | ||
eventmachine (1.2.7) | ||
ffi (1.16.3) | ||
forwardable-extended (2.6.0) | ||
google-protobuf (3.25.2-x86_64-linux) | ||
http_parser.rb (0.8.0) | ||
i18n (1.14.1) | ||
concurrent-ruby (~> 1.0) | ||
jekyll (4.3.3) | ||
addressable (~> 2.4) | ||
colorator (~> 1.0) | ||
em-websocket (~> 0.5) | ||
i18n (~> 1.0) | ||
jekyll-sass-converter (>= 2.0, < 4.0) | ||
jekyll-watch (~> 2.0) | ||
kramdown (~> 2.3, >= 2.3.1) | ||
kramdown-parser-gfm (~> 1.0) | ||
liquid (~> 4.0) | ||
mercenary (>= 0.3.6, < 0.5) | ||
pathutil (~> 0.9) | ||
rouge (>= 3.0, < 5.0) | ||
safe_yaml (~> 1.0) | ||
terminal-table (>= 1.8, < 4.0) | ||
webrick (~> 1.7) | ||
jekyll-relative-links (0.7.0) | ||
jekyll (>= 3.3, < 5.0) | ||
jekyll-sass-converter (3.0.0) | ||
sass-embedded (~> 1.54) | ||
jekyll-watch (2.2.1) | ||
listen (~> 3.0) | ||
kramdown (2.4.0) | ||
rexml | ||
kramdown-parser-gfm (1.1.0) | ||
kramdown (~> 2.0) | ||
liquid (4.0.4) | ||
listen (3.8.0) | ||
rb-fsevent (~> 0.10, >= 0.10.3) | ||
rb-inotify (~> 0.9, >= 0.9.10) | ||
mercenary (0.4.0) | ||
pathutil (0.16.2) | ||
forwardable-extended (~> 2.6) | ||
public_suffix (5.0.4) | ||
rake (13.1.0) | ||
rb-fsevent (0.11.2) | ||
rb-inotify (0.10.1) | ||
ffi (~> 1.0) | ||
rexml (3.2.6) | ||
rouge (4.2.0) | ||
safe_yaml (1.0.5) | ||
sass-embedded (1.69.5) | ||
google-protobuf (~> 3.23) | ||
rake (>= 13.0.0) | ||
terminal-table (3.0.2) | ||
unicode-display_width (>= 1.1.1, < 3) | ||
unicode-display_width (2.5.0) | ||
webrick (1.8.1) | ||
|
||
PLATFORMS | ||
x86_64-linux | ||
|
||
DEPENDENCIES | ||
jekyll (~> 4.0) | ||
jekyll-relative-links | ||
jekyll-sass-converter | ||
kramdown (~> 2.4) | ||
kramdown-parser-gfm (~> 1.1) | ||
webrick (~> 1.8) | ||
|
||
BUNDLED WITH | ||
2.5.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
author: Xzonn | ||
name: 《夏日重现 Another Horizon》汉化发布 | ||
timezone: Asia/Shanghai | ||
url: https://xzonn.top/STRAHChsLocalization | ||
defaults: | ||
- values: | ||
layout: "default" | ||
exclude: | ||
- Debug/ | ||
- node_modules/ | ||
- vendor/ | ||
- Gemfile | ||
- Gemfile.lock | ||
- package.json | ||
- package-lock.json | ||
- jsconfig.json | ||
- README.md | ||
markdown: kramdown | ||
plugins: | ||
- jekyll-relative-links | ||
- jekyll-sass-converter | ||
repository: Xzonn/STRAHChsLocalization | ||
sass: | ||
sass_dir: assets/css | ||
load_paths: | ||
- assets/css | ||
- node_modules | ||
sourcemap: always | ||
style: compressed | ||
relative_links: | ||
collections: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{{ include.blank }}<div class="video">{% if include.youtube %} | ||
{{ include.blank }} <div class="youtube-video"><iframe class="youtube-video-iframe" src="https://www.youtube.com/embed/{{ include.youtube }}" title="{{ include.title | default: "YouTube视频播放器" }}" allow="accelerometer; encrypted-media; gyroscope; picture-in-picture" allowfullscreen loading="lazy" ></iframe></div>{% endif %}{% if include.aid or include.bvid %} | ||
{{ include.blank }} <div class="bilibili-video"><iframe class="bilibili-video-iframe" src="https://player.bilibili.com/player.html?{% if include.aid %}aid={{ include.aid }}{% elsif include.bvid %}bvid={{ include.bvid }}{% endif %}{% if include.page %}&page={{ include.page }}{% endif %}" title="{{ include.title | default: "Bilibili视频播放器" }}" allow="accelerometer; encrypted-media; gyroscope; picture-in-picture" allowfullscreen loading="lazy"></iframe></div>{% endif %} | ||
{{ include.blank }}</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<!DOCTYPE html> | ||
<html lang="zh-cn"> | ||
<head> | ||
<!-- Common Head Start --> | ||
<meta charset="utf-8"/> | ||
<meta name="author" content="Xzonn"/> | ||
<meta name="description" content="{{ page.title }}"/> | ||
<meta name="generator" content="jekyll 4.3"/> | ||
<meta name="keywords" content="Xzonn,夏日重现,Another Horizon,游戏汉化,Steam,Nintendo Switch"/> | ||
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/> | ||
<meta name="referrer" content="same-origin"/> | ||
<!-- Bootstrap --> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js" integrity="sha256-2Pmvv0kuTBOenSvLm6bvfBSSHrUJ+3A7x6P5Ebd07/g=" crossorigin="anonymous"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha256-qlPVgvl+tZTCpcxYJFdHB/m6mDe84wRr+l81VoYPTgQ=" crossorigin="anonymous"></script> | ||
<link rel="stylesheet" href="{{ "/assets/" | relative_url }}css/style.css" /> | ||
<script src="{{ "/assets/" | relative_url }}js/main.js"></script>{% for i in page.js %} | ||
<script src="{{ "/assets/" | relative_url }}js/{{ i }}.js"></script>{% endfor %} | ||
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.name }}</title>{% unless jekyll.environment == "development" %} | ||
<!-- Baidu --> | ||
<script src="https://hm.baidu.com/hm.js?e51c63f6dc2ddbf35c41b08cd39eb20a" referrerpolicy="no-referrer-when-downgrade"></script>{% endunless %} | ||
<!-- Common Head End --> | ||
</head> | ||
<body> | ||
<!-- Common Heading Start --> | ||
<div class="para-heading"> | ||
<div class="container-md"> | ||
<div class="para-heading-text">{% if page.title %} | ||
<h1><a href="{% if page.source %}{{ page.source }}{% else %}https://github.com/{{ site.repository }}{% endif %}">{{ page.title }}</a></h1>{% endif %} | ||
</div>{% if page.screenshot_count and page.screenshot_count > 0 %} | ||
<div id="para-carousel" class="para-carousel carousel carousel-dark slide" data-bs-ride="carousel"> | ||
<div class="carousel-indicators">{% for screenshot_index in (1..page.screenshot_count) %} | ||
<button type="button" data-bs-target="#para-carousel" data-bs-slide-to="{{ forloop.index0 }}"{% if forloop.first %} class="active"{% endif %}></button>{% endfor %} | ||
</div> | ||
<div class="carousel-inner">{% for screenshot_index in (1..page.screenshot_count) %}{% assign caption = page.screenshot_captions[screenshot_index] | default: "" %} | ||
<div class="carousel-item{% if forloop.first %} active{% endif %}"> | ||
<img src="{{ "/assets/" | relative_url }}images/screenshot-{{ screenshot_index | prepend: "00" | slice: -2, 2 }}.png" decoding="async" loading="lazy" {% if caption != "" %} alt="{{ caption }}"> | ||
<div class="carousel-caption"> | ||
<p>{{ caption }}</p> | ||
</div{% endif %}> | ||
</div>{% endfor %} | ||
</div> | ||
<button class="carousel-control-prev" type="button" data-bs-target="#para-carousel" data-bs-slide="prev"> | ||
<span class="carousel-control-prev-icon"></span> | ||
</button> | ||
<button class="carousel-control-next" type="button" data-bs-target="#para-carousel" data-bs-slide="next"> | ||
<span class="carousel-control-next-icon"></span> | ||
</button> | ||
</div>{% endif %} | ||
</div> | ||
</div> | ||
<!-- Common Heading End --> | ||
<!-- Common Content Start --> | ||
<div class="para-content container-md"> | ||
<div class="row"> | ||
<div class="para-content-main col-md-12">{% if page.head_image %} | ||
{% include figure.html blank=" " src=page.head_image alt=page.title width=page.head_image_width height=page.head_image_height no_link=true %}{% endif %} | ||
<article>{% capture LINE_BREAK %} | ||
{% endcapture %}{% capture DOUBLE_LINE_BREAK %}{{ LINE_BREAK }}{{ LINE_BREAK }}{% endcapture %}{% capture LINE_BREAK_INDENT %} | ||
{% endcapture %}{% assign _content = content | strip | replace: '<a href="http', '<a target="_blank" href="http' %} | ||
{% assign _splited_pres = _content | split: "<pre " %}{% for _pre in _splited_pres %}{% if forloop.first %}{{ _pre | replace: DOUBLE_LINE_BREAK, LINE_BREAK | replace: LINE_BREAK, LINE_BREAK_INDENT }}{% else %}<pre {% assign _splited_part = _pre | split: "</pre>" %}{{ _splited_part[0] }}</pre>{{ _splited_part[1] | replace: DOUBLE_LINE_BREAK, LINE_BREAK | replace: LINE_BREAK, LINE_BREAK_INDENT }}{% endif %}{% endfor %} | ||
</article>{% unless jekyll.environment == "development" or page.no_comment %} | ||
<div class="xz-content-comment d-print-none"> | ||
<div class="alert alert-info text-center">如果需要在留言中发布图片,请前往<a href="https://github.com/Xzonn/xzonn.github.io/discussions/">GitHub上的Discussions</a>。您也可以通过<a href="https://space.bilibili.com/16114399">bilibili</a>的私信功能与我联系。</div> | ||
<script src="https://giscus.xzonn.top/client.js" data-repo="Xzonn/xzonn.github.io" data-repo-id="MDEwOlJlcG9zaXRvcnkxOTA2ODQ0MzU=" data-category="General" data-category-id="DIC_kwDOC12dE84CaEKw" data-mapping="specific" data-term="{{ page.title | default: site.name }}" data-strict="1" data-reactions-enabled="1" data-emit-metadata="0" data-input-position="top" data-theme="preferred_color_scheme" data-lang="zh-CN" data-loading="lazy" crossorigin="anonymous" async></script> | ||
</div>{% endunless %} | ||
</div> | ||
</div> | ||
</div> | ||
<div class="para-blank"></div> | ||
<!-- Common Content End --> | ||
<!-- Common Footer Start --> | ||
<!-- Han --> | ||
<script src="https://xzonn.top/assets/js/han.min.js"></script> | ||
<!-- Common Footer End --> | ||
<!-- {{ page.url }} --> | ||
</body> | ||
</html> |
Oops, something went wrong.