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

Commit

Permalink
Update hugo.scm
Browse files Browse the repository at this point in the history
  • Loading branch information
technicat committed Aug 7, 2023
1 parent 03db63c commit 44b4aed
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions hugo.scm
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,20 @@

(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)
(h4 "Wiktionary" out)
(let ((wkty (wkty chinese)))
(if wkty
(for-each (lambda (chars) (write-string chars out))
wkty)
(write-string "Missing wiktionary" out))
(news out)))


(define (write-dish-description dish out)
(h2 "Description" out)
(write-string (description dish) out)
Expand Down

0 comments on commit 44b4aed

Please sign in to comment.