Skip to content

Commit

Permalink
更新捐赠页
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-kan authored Jan 8, 2025
1 parent 16d40b7 commit 1b7a01d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 19 deletions.
24 changes: 11 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

### 第三步

把 Setting 拉到下面找到 Github Pages 相关选项,将 Source 从改成 None 改到 master branch,再将 Custom domain 改成你的网址。
把 Setting 拉到下面找到 Github Pages 相关选项,将 Source 从改成 None 改到默认的 branch,(可选)再将 Custom domain 改成你的网址。

<!-- .slide vertical=true -->

Expand Down Expand Up @@ -150,11 +150,11 @@

<!-- .slide vertical=true -->

### `layout: merger`
### `layout: dnoate`

基于 merger 的打赏页。

示例:<https://wu-kan.cn/merger/>
示例:<https://wu-kan.cn/donate/>

<!-- .slide vertical=true -->

Expand All @@ -172,15 +172,7 @@

<!-- .slide vertical=true -->

如果你希望使用它来渲染主页之外的页面,可以在你的 markdown 的 yaml 头中设置`layout: home`即可!当然,如果你不希望使用它来渲染主页,你也可以将主页的 layout 设置成其他的。

想针对特定页面默认开启侧边栏?在 yaml 头中设置`jekyll-theme-WuK: default: sidebar: open: true`即可!

想针对特定页面隐藏侧边栏?在 yaml 头中设置`jekyll-theme-WuK: default: sidebar: disable: true`即可!会覆盖`sidebar: open`的设置。

<!-- .slide vertical=true -->

这是一个仍在开发的特性(主要是找不到美观精致的[展示主题](https://github.com/hakimel/reveal.js/tree/master/css/theme)),如果有建议/需求欢迎 issue!
这是一个仍在开发的特性(主要是找不到美观精致的[展示主题](https://github.com/hakimel/reveal.js/tree/master/css/theme)),如果有建议/需求欢迎 issue!如果你希望使用它来渲染主页之外的页面,可以在你的 markdown 的 yaml 头中设置`layout: home`即可!当然,如果你不希望使用它来渲染主页,你也可以将主页的 layout 设置成其他的。

<!-- .slide vertical=true -->

Expand Down Expand Up @@ -235,7 +227,7 @@
- [primer/css](https://github.com/primer/css)
- [hakimel/reveal.js](https://github.com/hakimel/reveal.js)
- [qr-merger/merger](https://github.com/qr-merger/merger)
- [utterance/utterances](https://github.com/utterance/utterances)
- [giscus/giscus](https://github.com/giscus/giscus)

<!-- .slide vertical=true -->

Expand All @@ -255,6 +247,12 @@

<!-- .slide vertical=true -->

### 2025-01-08 v5.3.0

- 更新捐赠页

<!-- .slide vertical=true -->

### 2024-12-20 v5.1.0

- 增加 menu 中的搜索栏和目录
Expand Down
6 changes: 1 addition & 5 deletions _layouts/merger.html → _layouts/donate.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@
{% endif %}
</title>
{% endif %}
{% for node in page.jekyll-theme-WuK.merger.append_to_head %}
{{ node }}
{% endfor %}
<meta charset="utf-8">
<meta name="author" content="Huangxin, LF112">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">

Expand All @@ -43,7 +39,7 @@
</head>

<body>

{{ content }}
<div class="main" id="h">
<i id="i"></i>

Expand Down
2 changes: 1 addition & 1 deletion jekyll-theme-WuK.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'jekyll-theme-WuK'
s.version = '5.1.0'
s.version = '5.3.0'
s.license = 'MIT'
s.summary = 'A content-first theme for Jekyll, use primer design.'
s.author = 'WuK'
Expand Down

0 comments on commit 1b7a01d

Please sign in to comment.