summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tissue.scm16
1 files 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")))))