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 17, 2023
1 parent 23e3481 commit b47a1e9
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions hugo.scm
Original file line number Diff line number Diff line change
Expand Up @@ -94,19 +94,14 @@
(define (write-dish-header dish out cats)
(hugo-header-line out)
(newline out)
(write-dish-title dish out)
(hugo-title (english dish) out)
(write-dish-cats dish out cats)
(if (tags dish)
(write-dish-tags dish out))
(write-string #"showDate: false" out)
(newline out)
(hugo-date-none out)
(hugo-header-line out)
(news out))

(define (write-dish-title dish out)
(write-string #"title: \"~(english dish)\"" out)
(newline out))

(define (write-dish-refs dish out)
(h2 "References" out)
(for-each (lambda (ref) (write-dish-ref ref out))
Expand Down

0 comments on commit b47a1e9

Please sign in to comment.