Skip to content

Commit

Permalink
feat: update website
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Mar 22, 2024
1 parent 3a928be commit 50c19c7
Show file tree
Hide file tree
Showing 5 changed files with 127 additions and 90 deletions.
4 changes: 2 additions & 2 deletions website/Gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
source "https://rubygems.org"

gem "jekyll", "4.2.0"
gem "jekyll", "4.3.3"

group :development do
gem "jekyll-last-modified-at"
# gem "jekyll-last-modified-at"
gem "stringex"
gem "webrick"
end
Expand Down
107 changes: 80 additions & 27 deletions website/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,78 +4,131 @@ GEM
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.16.3)
forwardable-extended (2.6.0)
google-protobuf (4.26.0)
rake (>= 13)
google-protobuf (4.26.0-aarch64-linux)
rake (>= 13)
google-protobuf (4.26.0-arm64-darwin)
rake (>= 13)
google-protobuf (4.26.0-x86-linux)
rake (>= 13)
google-protobuf (4.26.0-x86_64-darwin)
rake (>= 13)
google-protobuf (4.26.0-x86_64-linux)
rake (>= 13)
http_parser.rb (0.8.0)
i18n (1.14.1)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
jekyll (4.2.0)
jekyll (4.3.3)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (~> 2.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.4.0)
mercenary (>= 0.3.6, < 0.5)
pathutil (~> 0.9)
rouge (~> 3.0)
rouge (>= 3.0, < 5.0)
safe_yaml (~> 1.0)
terminal-table (~> 2.0)
jekyll-last-modified-at (1.3.0)
jekyll (>= 3.7, < 5.0)
posix-spawn (~> 0.3.9)
jekyll-sass-converter (2.2.0)
sassc (> 2.0.1, < 3.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
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)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
match_regex (0.1.0)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
posix-spawn (0.3.15)
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 (3.30.0)
rouge (4.2.1)
safe_yaml (1.0.5)
sassc (2.4.0)
ffi (~> 1.9)
sass-embedded (1.72.0)
google-protobuf (>= 3.25, < 5.0)
rake (>= 13.0.0)
sass-embedded (1.72.0-aarch64-linux-android)
google-protobuf (>= 3.25, < 5.0)
sass-embedded (1.72.0-aarch64-linux-gnu)
google-protobuf (>= 3.25, < 5.0)
sass-embedded (1.72.0-aarch64-linux-musl)
google-protobuf (>= 3.25, < 5.0)
sass-embedded (1.72.0-arm-linux-androideabi)
google-protobuf (>= 3.25, < 5.0)
sass-embedded (1.72.0-arm-linux-gnueabihf)
google-protobuf (>= 3.25, < 5.0)
sass-embedded (1.72.0-arm-linux-musleabihf)
google-protobuf (>= 3.25, < 5.0)
sass-embedded (1.72.0-arm64-darwin)
google-protobuf (>= 3.25, < 5.0)
sass-embedded (1.72.0-x86-linux-android)
google-protobuf (>= 3.25, < 5.0)
sass-embedded (1.72.0-x86-linux-gnu)
google-protobuf (>= 3.25, < 5.0)
sass-embedded (1.72.0-x86-linux-musl)
google-protobuf (>= 3.25, < 5.0)
sass-embedded (1.72.0-x86_64-darwin)
google-protobuf (>= 3.25, < 5.0)
sass-embedded (1.72.0-x86_64-linux-android)
google-protobuf (>= 3.25, < 5.0)
sass-embedded (1.72.0-x86_64-linux-gnu)
google-protobuf (>= 3.25, < 5.0)
sass-embedded (1.72.0-x86_64-linux-musl)
google-protobuf (>= 3.25, < 5.0)
stringex (2.8.6)
terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
tzinfo (2.0.2)
concurrent-ruby (~> 1.0)
tzinfo-data (1.2023.4)
tzinfo-data (1.2024.1)
tzinfo (>= 1.0.0)
unicode-display_width (1.8.0)
unicode-display_width (2.5.0)
webrick (1.8.1)

PLATFORMS
arm64-darwin-21
arm64-darwin-22
arm64-darwin-23
aarch64-linux
aarch64-linux-android
aarch64-linux-gnu
aarch64-linux-musl
arm-linux-androideabi
arm-linux-gnueabihf
arm-linux-musleabihf
arm64-darwin
ruby
x86-linux
x86-linux-android
x86-linux-gnu
x86-linux-musl
x86_64-darwin
x86_64-linux
x86_64-linux-android
x86_64-linux-gnu
x86_64-linux-musl

DEPENDENCIES
jekyll (= 4.2.0)
jekyll-last-modified-at
jekyll (= 4.3.3)
match_regex
stringex
tzinfo (= 2.0.2)
Expand Down
4 changes: 2 additions & 2 deletions website/_app/_data/versions.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
stable:
long: "23.01"
short: "2301"
date: 2023-06-30
date: 2023-06-20
sdk:
long: "23.01"
short: "2301"
date: 2023-06-30
date: 2023-06-20

beta:
long: "21.04"
Expand Down
98 changes: 41 additions & 57 deletions website/_app/_pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1>欢迎来到 7-Zip 官方中文网站!</h1>

{% assign latest = site.posts.first %}
{% assign ver = site.data.versions %}
<p><b>下载 7-Zip {{ ver.stable.long }} 稳定版适用于 Windows 操作系统({{ ver.stable.date }}):</b></p>
<p><b>下载 7-Zip {{ ver.stable.long }}({{ ver.stable.date }})稳定版适用于 Windows x64(64 位):</b></p>

<table cellspacing="1" cellpadding="6">
<tbody>
Expand All @@ -27,18 +27,31 @@ <h1>欢迎来到 7-Zip 官方中文网站!</h1>
</tr>
<tr>
<td class="Item text-center">
<a href="https://www.7-zip.org/a/7z{{ ver.stable.short }}.exe">下载</a>
<a href="https://www.7-zip.org/a/7z{{ ver.stable.short }}-x64.exe">下载</a>
</td>
<td class="Item text-center">.exe</td>
<td class="Item text-center">32x86</td>
<td class="Item text-center">64x64</td>
<td class="Item text-center">1 MB</td>
</tr>
</tbody>
</table>

<p><b>下载 7-Zip {{ ver.stable.long }} 稳定版适用于其他 Windows 平台(32 位 x86 或 ARM64):</b></p>

<table cellspacing="1" cellpadding="6">
<tbody>
<tr>
<th class="Title" width="60">链接</th>
<th class="Title" width="60">格式</th>
<th class="Title" width="80">系统</th>
<th class="Title" width="55">大小</th>
</tr>
<tr>
<td class="Item text-center">
<a href="https://www.7-zip.org/a/7z{{ ver.stable.short }}-x64.exe">下载</a>
<a href="https://www.7-zip.org/a/7z{{ ver.stable.short }}.exe">下载</a>
</td>
<td class="Item text-center">.exe</td>
<td class="Item text-center">64x64</td>
<td class="Item text-center">32x86</td>
<td class="Item text-center">1 MB</td>
</tr>
<tr>
Expand Down Expand Up @@ -135,65 +148,23 @@ <h2>7-Zip 主要特征</h2>
<li>支持 87 种语言</li>
</ul>

<p><b>7-Zip</b> 适用于 Windows 10 / 8 / 7 / Vista / XP / 2016 / 2012 / 2008 / 2003 / 2000。</p>
<p><b>7-Zip</b> 适用于 Windows 11 / 10 / 8 / 7 / Vista / XP / 2016 / 2012 / 2008 / 2003 / 2000。</p>

<p><a href="https://sourceforge.net/projects/p7zip/">p7zip</a> - Linux/Posix 平台的命令行移植版本。</p>

<p><a href="https://sourceforge.net/projects/sevenzip/">Source Forge 的 7-Zip 页面</a>(英文)中您可以找到相关的论坛、错误汇报及系统需求。 </p>

<h2>压缩比</h2>

<p>让我们用 <b>7-Zip</b> 和 WinRAR 5.20 进行比较。</p>

<p><b>文件设置:</b>完整安装后的 Windows 版 Mozilla Firefox 34.0.5 以及 Windows 版 Google Earth 6.2.2.6613。</p>

<table cellspacing="2" cellpadding="6">
<tbody>
<tr>
<th class="Title" rowspan="3">软件名称</th>
<th class="Title" colspan="2">Mozilla Firefox</th>
<th class="Title" colspan="2">Google Earth</th>
</tr>
<tr>
<th class="Title" colspan="2">65 个文件<br>85 280 391 字节</th>
<th class="Title" colspan="2">483 个文件<br>110 700 519 字节</th>
</tr>
<tr>
<th class="Title">压缩后</th>
<th class="Title">压缩比</th>
<th class="Title">压缩后</th>
<th class="Title">压缩比</th>
</tr>
<tr>
<td class="Item"><b>7-Zip 9.35<br>-mx</b></td>
<td class="Item"><b>39 357 375</b></td>
<td class="Item"><b>100%</b></td>
<td class="Item"><b>15 964 369</b></td>
<td class="Item"><b>100%</b></td>
</tr>
<tr>
<td class="Item">WinRAR 5.20<br>-m5 -s -ma5 -md128m</td>
<td class="Item">41 789 543</td>
<td class="Item">106%</td>
<td class="Item">17 035 432</td>
<td class="Item">107%</td>
</tr>
</tbody>
</table>

<p>压缩比结果由被压缩的数据大小而定。通常使用 <b>7-Zip</b> 的 7z 格式能比使用 zip 格式的压缩档案小 30-70%。并且使用 <b>7-Zip</b> 创建的 zip 格式比大多数其它压缩软件创建的都小 2-10%。</p>

</td>

<td valign="top" width="210">

<table class="News" cellpadding="3" cellspacing="1">
<tbody><tr class="NewsHeader">
<td class="NewsTitle">7-Zip 23.01</td>
<td class="NewsDate">2023-06-20</td></tr>
<td class="NewsTitle">7-Zip 24.02</td>
<td class="NewsDate">2024-03-22</td></tr>
<tr class="News">
<td class="NewsText" colspan="2">
<a href="https://sourceforge.net/p/sevenzip/discussion/45797/thread/3f550826d8/">7-Zip 23.01</a>
<a href="https://sourceforge.net/p/sevenzip/discussion/45797/thread/c12ab8b42c/">7-Zip 24.02 beta</a>
</td>
</tr>
</tbody></table>
Expand All @@ -202,11 +173,24 @@ <h2>压缩比</h2>

<table class="News" cellpadding="3" cellspacing="1">
<tbody><tr class="NewsHeader">
<td class="NewsTitle">7-Zip 23.00</td>
<td class="NewsDate">2023-05-07</td></tr>
<td class="NewsTitle">7-Zip 24.01</td>
<td class="NewsDate">2024-01-31</td></tr>
<tr class="News">
<td class="NewsText" colspan="2">
<a href="https://sourceforge.net/p/sevenzip/discussion/45797/thread/713c8a8269/">7-Zip 23.00 beta</a>
<a href="https://sourceforge.net/p/sevenzip/discussion/45797/thread/de1d20a156/">7-Zip 24.01 beta</a>
</td>
</tr>
</tbody></table>

<br>

<table class="News" cellpadding="3" cellspacing="1">
<tbody><tr class="NewsHeader">
<td class="NewsTitle">7-Zip 23.01</td>
<td class="NewsDate">2023-06-20</td></tr>
<tr class="News">
<td class="NewsText" colspan="2">
<a href="https://sourceforge.net/p/sevenzip/discussion/45797/thread/3f550826d8/">7-Zip 23.01</a>
</td>
</tr>
</tbody></table>
Expand All @@ -215,11 +199,11 @@ <h2>压缩比</h2>

<table class="News" cellpadding="3" cellspacing="1">
<tbody><tr class="NewsHeader">
<td class="NewsTitle">7-Zip 22.01</td>
<td class="NewsDate">2022-07-15</td></tr>
<td class="NewsTitle">7-Zip 23.00</td>
<td class="NewsDate">2023-05-07</td></tr>
<tr class="News">
<td class="NewsText" colspan="2">
<a href="https://sourceforge.net/p/sevenzip/discussion/45797/thread/c43cbc5f18/">7-Zip 22.01</a>
<a href="https://sourceforge.net/p/sevenzip/discussion/45797/thread/713c8a8269/">7-Zip 23.00 beta</a>
</td>
</tr>
</tbody></table>
Expand Down
4 changes: 2 additions & 2 deletions website/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ kramdown:
# Jekyll plugins
#
# Plugins inside `jekyll_plugins` group in `Gemfile` will be actived by default
plugins:
- jekyll-last-modified-at
# plugins:
# - jekyll-last-modified-at

#
# Almace Scaffolding settings
Expand Down

0 comments on commit 50c19c7

Please sign in to comment.