Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
wkty
Browse files Browse the repository at this point in the history
  • Loading branch information
technicat committed Aug 7, 2023
1 parent 44b4aed commit 35b88b6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion assets/json/dish/bokchoy.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"word": {
"Cantonese": {
"text": "白菜",
"resources": [
"wkty": [
"白菜",
"",
""
Expand Down
11 changes: 6 additions & 5 deletions hugo.scm
Original file line number Diff line number Diff line change
Expand Up @@ -123,27 +123,28 @@
(define (write-dish-cantonese dish out)
(h3 "Cantonese" out)
(write-dish-text (cantonese dish) out)
(h4 "Pronunciation (Yale)" out)
(if (yale dish)
(write-string (yale dish) out)
(write-string "Missing Yale" out))
(news out))
(write-dish-wkty (cantonese dish) out))

(define (write-dish-mandarin dish out)
(h3 "Mandarin" out)
(write-dish-text (mandarin dish) out)
(h4 "Pronunciation (Pinyin)" out)
(if (pinyin dish)
(write-string (pinyin dish) out)
(write-string "Missing Pinyin" out))
(news out))
(write-dish-wkty (mandarin dish) out))

(define (write-dish-simplified dish out)
(h3 "Simplified" out)
(write-dish-text (simplified dish) out))
(write-dish-text (simplified dish) out)
(write-dish-wkty (simplified dish) out))

(define (write-dish-text chinese out)
(write-string (text chinese) out)
(news out)
(write-dish-wkty chinese out)
(news out))

(define (write-dish-wkty chinese out)
Expand Down

0 comments on commit 35b88b6

Please sign in to comment.