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 21, 2023
1 parent b182316 commit ced0098
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hugo.scm
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@
(define (place-title place)
(res-value "title" place))

(define (place-address place)
(res-value "address" place))

(define (read-places)
(let ((us (read-json "assets/json/place/us.json")))
(map (lambda (file)
Expand Down Expand Up @@ -317,6 +320,6 @@
(news out))

(define (write-region-place place out)
(print place)
(h2 (place-title place) out)
(write-string (place-address place) out)
(news out))

0 comments on commit ced0098

Please sign in to comment.