https://github.com/lethang7794/fcj-example-workshop
A fix version of the example workshop from First Cloud Journey
https://github.com/lethang7794/fcj-example-workshop
Last synced: 3 months ago
JSON representation
A fix version of the example workshop from First Cloud Journey
- Host: GitHub
- URL: https://github.com/lethang7794/fcj-example-workshop
- Owner: lethang7794
- Created: 2025-02-19T19:38:32.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-02-19T20:12:55.000Z (3 months ago)
- Last Synced: 2025-02-19T21:19:44.051Z (3 months ago)
- Language: CSS
- Size: 17.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A fix for the example workshop of Building a workshop for First Cloud Journey
## The problem
The [example workshop](https://van-hoang-kha.github.io/2-prerequiste/2.1-downloadhugotheme/) in [Guide for building a workshop](https://van-hoang-kha.github.io/) for First Cloud Journey is current broken because:
1. Somehow new version of Hugo (hugo `v0.144.2` on Linux) can't parse the `date` front-matter field.

2. `.Site.IsMultiLingual` (used in `hugo-theme-learn`) was deprecated in Hugo v0.124.0 and will be removed in Hugo 0.137.0 ([Source](https://github.com/gohugoio/hugo/pull/12887))

## The solution
| Problem | Solution |
| -------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1. `date` front-matter field can't be parsed | This is the first time I use Hugo, I've tried but didn't success to fix this.
For the purpose of viewing this example workshop, I've removed all the `date` field as in [commit 2a39eb2](https://github.com/lethang7794/fcj-example-workshop/commit/2a39eb2f63957454c15295888c8213c785d1c7dc). |
| 2. `.Site.IsMultiLingual` is removed. | I've replace all `.Site.IsMultiLingual` with `hugo.IsMultilingual` as in [commit 265dc2a](https://github.com/lethang7794/fcj-example-workshop/commit/265dc2a23533dbd2c368a3c4df844d249630f559). |## How to download the fixed example workshop
From this [link](https://github.com/lethang7794/fcj-example-workshop/archive/refs/heads/main.zip).