From ba2cde414865b86bd062591109797ac1738fb1d8 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 19 Sep 2022 02:13:21 +0530 Subject: tissue.scm: Copy IBM Plex fonts to built website. * tissue.scm (#:web-files): Copy IBM Plex fonts. --- tissue.scm | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/tissue.scm b/tissue.scm index 8bef7e7..711e015 100644 --- a/tissue.scm +++ b/tissue.scm @@ -13,7 +13,15 @@ (commits-in-current-repository))) #:web-files (cons (file "index.html" (skribe-exporter "website/index.skb")) - (filter-map (lambda (filename) - (file (replace-extension filename "html") - (gemtext-exporter filename))) - (gemtext-files-in-directory "issues")))) + (append (map (lambda (font-file) + (file (string-append "fonts/" font-file) + (copier (string-append (getenv "GUIX_ENVIRONMENT") + "/share/fonts/web/" font-file)))) + (list "IBMPlexSans-Regular-Latin1.woff2" + "IBMPlexSans-Bold-Latin1.woff2" + "IBMPlexMono-Regular-Latin1.woff2" + "IBMPlexMono-Bold-Latin1.woff2")) + (filter-map (lambda (filename) + (file (replace-extension filename "html") + (gemtext-exporter filename))) + (gemtext-files-in-directory "issues"))))) -- cgit v1.2.3