Skip to content

Commit 084cb21

Browse files
tidy up search for meaning
1 parent 4fabca3 commit 084cb21

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed
566 KB
Loading

src/civitas/why/village/scene.clj

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44
:kindly/options {:kinds-that-hide-code #{:kind/var :kind/hiccup}}
55
:quarto {:author [:timothypratley]
66
:description "Why we need to share our ideas, and some suggestions on how"
7-
:page-layout :full
8-
:theme "none"
9-
:navbar false
107
:type :post
118
:date "2025-11-14"
9+
:image "preview.png"
1210
:category :collaboration
1311
:tags [:clojure :writing :workflow :motivation :community]}}}
1412
(:require [civitas.db :as db]
@@ -30,9 +28,7 @@
3028
[:style "body {
3129
margin: 0;
3230
padding: 0;
33-
background: darkgreen;
3431
font-family: \"Luxurious Roman\", \"Times New Roman\", Times, Georgia, serif;
35-
color: #FCFFE0;
3632
}
3733
h1,h2,h3,h4,h5 {
3834
font-family: \"Luxurious Roman\", \"Times New Roman\", Times, Georgia, serif;

src/civitas/why/village/traction.cljs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,11 @@
119119
target-world (nth @computed-steps i)
120120
id (str "step" i)]
121121
(when (not= current-world target-world)
122-
(-> js/document .-location .-hash (set! (str \# id)))
122+
(js/history.replaceState nil nil
123+
(str js/window.location.pathname
124+
js/window.location.search
125+
"#" id))
126+
123127
(reset! transition
124128
(with-meta
125129
(new-transition current-world target-world)

0 commit comments

Comments
 (0)