Skip to content

Commit

Permalink
Upgrade zola
Browse files Browse the repository at this point in the history
  • Loading branch information
sunhuachuang committed Aug 28, 2024
1 parent 1fb785c commit 5a57d8c
Show file tree
Hide file tree
Showing 20 changed files with 10 additions and 31 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/getzola/zola:v0.17.1 as zola
FROM ghcr.io/getzola/zola:v0.19.1 as zola

COPY . /project
WORKDIR /project
Expand Down
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ default_language = "en"
compile_sass = true

# Whether to generate a feed file for the site
generate_feed = true
generate_feeds = true

# When set to "true", the generated HTML files are minified.
minify_html = false
Expand Down
2 changes: 0 additions & 2 deletions content/authors/_index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
+++
title = "Authors"
description = "The authurs of the blog articles."
date = 2021-04-01T08:00:00+00:00
updated = 2021-04-01T08:00:00+00:00
draft = false

# If add a new author page in this section, please add a new item,
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
13 changes: 8 additions & 5 deletions content/blog/cocos-tg.md → content/blog/cocos-tg/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Through these steps, you can successfully start and publish a Cocos Creator proj
4.1. Create a new scene, create a node in the scene, and attach the script GameLanch.ts.
(I also placed the background image for the main interface here for preloading, but it can be omitted.)

![P1](https://docs.zypher.network/static/blog/cocos-tg/P1.jpg)
![P1](P1.png)

4.2. GameLanch.ts.
```javascript
Expand Down Expand Up @@ -242,7 +242,8 @@ async initTelegram() {

```
Send the retrieved window[‘Telegram’]?.WebApp?.initData to the server for verification.
![P2](https://docs.zypher.network/static/blog/cocos-tg/P2.jpg)
![P2](P2.png)
4.4. Add the UIRank.ts script to the rank page. After UIRank inherits from the UIView class, it can be managed through the uiManager.
```javascript
Expand All @@ -253,9 +254,11 @@ this.list.refreshData(ranks); // Display in component
```
4.5. Briefly discuss the reward.
![P3](https://docs.zypher.network/static/blog/cocos-tg/P3.jpg)
![P4](https://docs.zypher.network/static/blog/cocos-tg/P4.jpg)
![P5](https://docs.zypher.network/static/blog/cocos-tg/P5.jpg)
![P3](P3.png)
![P4](P4.png)
![P5](P5.png)
The interface mainly has three scripts attached for rewards.
```
Expand Down
2 changes: 0 additions & 2 deletions content/privacy-policy/_index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
+++
title = "Privacy Policy"
description = "We do not use cookies and we do not collect any personal data."
date = 2021-05-01T08:00:00+00:00
updated = 2020-05-01T08:00:00+00:00
draft = false

[extra]
Expand Down
2 changes: 0 additions & 2 deletions content/zk/_index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
+++
title = "ZK"
description = "The zk engine documents"
date = 2024-05-01T08:00:00+00:00
updated = 2024-05-01T08:00:00+00:00
sort_by = "weight"
weight = 1
template = "docs/section.html"
Expand Down
2 changes: 0 additions & 2 deletions content/zk/aw/_index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
+++
title = "AW engine"
description = "Various games SDKs and plug-and-play circuits"
date = 2024-05-01T08:00:00+00:00
updated = 2024-05-01T08:00:00+00:00
template = "docs/section.html"
sort_by = "weight"
weight = 3
Expand Down
2 changes: 0 additions & 2 deletions content/zk/contributing/_index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
+++
title = "Contributing"
description = "Find out how to contribute to Zypher."
date = 2025-05-01T18:00:00+00:00
updated = 2021-05-01T18:00:00+00:00
template = "docs/section.html"
sort_by = "weight"
weight = 10
Expand Down
2 changes: 0 additions & 2 deletions content/zk/guide/_index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
+++
title = "Guide"
description = "Quick start and complete a simple game with zypher game framework."
date = 2025-05-01T08:00:00+00:00
updated = 2021-05-01T08:00:00+00:00
template = "docs/section.html"
sort_by = "weight"
weight = 1
Expand Down
2 changes: 0 additions & 2 deletions content/zk/secret/_index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
+++
title = "Secret engine"
description = "Quick start and complete a simple game with uzkge."
date = 2025-05-01T08:00:00+00:00
updated = 2021-05-01T08:00:00+00:00
template = "docs/section.html"
sort_by = "weight"
weight = 2
Expand Down
2 changes: 0 additions & 2 deletions content/zk/z4/_index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
+++
title = "Z4"
description = "Quick start and complete a multiple online real-time game with Z4 engine."
date = 2025-05-01T08:00:00+00:00
updated = 2021-05-01T08:00:00+00:00
template = "docs/section.html"
sort_by = "weight"
weight = 5
Expand Down
2 changes: 0 additions & 2 deletions content/zytron/_index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
+++
title = "Zytron"
description = "A layer3 game chain framework"
date = 2024-05-01T08:00:00+00:00
updated = 2024-05-01T08:00:00+00:00
sort_by = "weight"
weight = 1
template = "docs/section.html"
Expand Down
2 changes: 0 additions & 2 deletions content/zytron/chain/_index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
+++
title = "Zytron Chain"
description = "A L3 game chain"
date = 2025-05-01T08:00:00+00:00
updated = 2021-05-01T08:00:00+00:00
template = "docs/section.html"
sort_by = "weight"
weight = 4
Expand Down
2 changes: 0 additions & 2 deletions content/zytron/kit/_index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
+++
title = "Zytron Kit"
description = "A L3 game chain framework"
date = 2025-05-01T08:00:00+00:00
updated = 2021-05-01T08:00:00+00:00
template = "docs/section.html"
sort_by = "weight"
weight = 6
Expand Down
2 changes: 0 additions & 2 deletions content/zytron/precompiles/_index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
+++
title = "Zytron Precompiles"
description = "The precompiles in zytron kit"
date = 2025-05-01T08:00:00+00:00
updated = 2021-05-01T08:00:00+00:00
template = "docs/section.html"
sort_by = "weight"
weight = 5
Expand Down

0 comments on commit 5a57d8c

Please sign in to comment.