feat: navbar

This commit is contained in:
2026-04-18 16:42:52 -06:00
parent 7fbc5c8059
commit 32dad302f0
4 changed files with 47 additions and 5 deletions

17
dev/user.clj Normal file
View File

@@ -0,0 +1,17 @@
(ns user
(:require [net.deertopia.doerg.server :as server]
[net.deertopia.doerg.config :as cfg]
[net.deertopia.doerg.cached-file :as cached-file]
[babashka.fs :as fs]))
(cfg/load-config! :profile :dev)
(when (not= :running (server/status))
(server/start!))
(defn invalidate-html-cache! []
(fs/delete-tree (server/html-dir))
nil)
(defn toggle-html-cache! []
(alter-var-root #'cached-file/*use-cache?* not))