summaryrefslogtreecommitdiff
path: root/style.lisp
diff options
context:
space:
mode:
authorGrant Shoshin Shangreaux <shoshin@cicadas.surf>2022-12-07 15:55:39 -0600
committerGrant Shoshin Shangreaux <shoshin@cicadas.surf>2022-12-07 15:55:49 -0600
commit9983bad80881f72db54017115c3c70ea676d59b4 (patch)
tree6837a473d3d8a70b850018e01ab2a16450f21e92 /style.lisp
parent3a30045c509a9627e15abc9916549df8f3c7b268 (diff)
Add: versioned CSS
Diffstat (limited to 'style.lisp')
-rw-r--r--style.lisp4
1 files changed, 3 insertions, 1 deletions
diff --git a/style.lisp b/style.lisp
index 9032e37..f214980 100644
--- a/style.lisp
+++ b/style.lisp
@@ -2,5 +2,7 @@
(in-package :vampire)
+(defvar css-version "2")
+
(defun include-style (body)
- (load-css (html-document body) "/css/main.css" :load-only-once nil))
+ (load-css (html-document body) (format t "/css/main-~a.css" css-version) :load-only-once nil))