From 9983bad80881f72db54017115c3c70ea676d59b4 Mon Sep 17 00:00:00 2001 From: Grant Shoshin Shangreaux Date: Wed, 7 Dec 2022 15:55:39 -0600 Subject: Add: versioned CSS --- style.lisp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'style.lisp') 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)) -- cgit v1.2.3