diff options
author | Arun Isaac | 2022-09-19 02:13:21 +0530 |
---|---|---|
committer | Arun Isaac | 2022-09-19 02:13:21 +0530 |
commit | ba2cde414865b86bd062591109797ac1738fb1d8 (patch) | |
tree | 26f975ccfc6218724d8ea48bffd7ca98ef63c65b | |
parent | 4450a52275907043a5a05d0f3c7b67fd7bcf1003 (diff) | |
download | tissue-ba2cde414865b86bd062591109797ac1738fb1d8.tar.gz tissue-ba2cde414865b86bd062591109797ac1738fb1d8.tar.lz tissue-ba2cde414865b86bd062591109797ac1738fb1d8.zip |
tissue.scm: Copy IBM Plex fonts to built website.
* tissue.scm (#:web-files): Copy IBM Plex fonts.
-rw-r--r-- | tissue.scm | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -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"))))) |