Skip to content

Commit

Permalink
Update pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Xzonn committed Jan 26, 2024
1 parent 09b93d3 commit fa987d7
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 50 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
source "https://rubygems.org"
gem "jekyll", "~> 3.0", group: :jekyll_plugins
gem "jekyll", "~> 4.0", group: :jekyll_plugins
gem "webrick", "~> 1.8"
gem "kramdown", "~> 2.3"
gem "kramdown", "~> 2.4"
gem "kramdown-parser-gfm", "~> 1.1"
group :jekyll_plugins do
gem "jekyll-relative-links"
Expand Down
52 changes: 29 additions & 23 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,36 +1,40 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.4)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
colorator (1.1.0)
concurrent-ruby (1.2.2)
concurrent-ruby (1.2.3)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.15.5)
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 (3.9.3)
jekyll (4.3.3)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (>= 0.7, < 2)
jekyll-sass-converter (~> 1.0)
i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
kramdown (>= 1.17, < 3)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.3.3)
mercenary (>= 0.3.6, < 0.5)
pathutil (~> 0.9)
rouge (>= 1.7, < 4)
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 (1.5.2)
sass (~> 3.4)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
Expand All @@ -41,33 +45,35 @@ GEM
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.1)
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.5)
rouge (3.30.0)
rexml (3.2.6)
rouge (4.2.0)
safe_yaml (1.0.5)
sass (3.7.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
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 (~> 3.0)
jekyll (~> 4.0)
jekyll-relative-links
jekyll-sass-converter
kramdown (~> 2.3)
kramdown (~> 2.4)
kramdown-parser-gfm (~> 1.1)
webrick (~> 1.8)

BUNDLED WITH
2.4.13
2.5.4
17 changes: 5 additions & 12 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8"/>
<meta name="author" content="七不思议汉化组"/>
<meta name="description" content="{{ page.title }}"/>
<meta name="generator" content="jekyll 4.0.0"/>
<meta name="generator" content="jekyll 4.3"/>
<meta name="keywords" content="七不思议汉化组,灵异视界,本所七大不可思议,游戏汉化,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"/>
Expand Down Expand Up @@ -58,17 +58,10 @@ <h1><a href="{% if page.source %}{{ page.source }}{% else %}https://github.com/{
{% 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>{% if page.links %}
<div class="para-infobox-bottom">
<div class="para-info-links">
<div class="para-info-links-head">相关链接</div>
<ul>{% for link in page.links %}
<li><a href="{{ link[0] }}">{{ link[1] }}</a></li>{% endfor %}
</ul>
</div>
</div>{% endif %}{% unless jekyll.environment == "development" or page.no_comment %}
<div class="para-content-comment hidden-print">
<script src="https://utteranc.es/client.js" repo="{{ site.repository }}" issue-term="title" label="comment" theme="github-light" crossorigin="anonymous" async></script>
</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/ParanormasightChsLocalization/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/ParanormasightChsLocalization" data-repo-id="R_kgDOJKpNiA" data-category="General" data-category-id="DIC_kwDOJKpNiM4CctfD" 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>
Expand Down
2 changes: 0 additions & 2 deletions assets/css/_site.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@use "custon_styles";

/* header */
.para-header {
background-color: var(--primary-lightest);
Expand Down
4 changes: 2 additions & 2 deletions assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
@import "../../node_modules/bootstrap/scss/utilities/api";

// 8. Add additional custom code here
@import "../../node_modules/bootstrap-icons/font/bootstrap-icons.scss";
@import "custom_styles";
@import "site";
@import "../../node_modules/bootstrap-icons/font/bootstrap-icons.scss";
@import "site";
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fa987d7

Please sign in to comment.