We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0b56ff commit de2186aCopy full SHA for de2186a
src/nextjournal/clerk/render.cljs
@@ -861,9 +861,7 @@
861
(let [path (.-pathname url)
862
edn-path (str path (when (str/ends-with? path "/") "index") ".edn")]
863
(.pushState js/history #js {:edn_path edn-path} ""
864
- (str (cond-> path
865
- (not (str/ends-with? path "/"))
866
- (str "/")) (.-hash url))) ;; a trailing slash is needed to make relative paths work
+ (str path (.-hash url)))
867
(fetch+set-state edn-path)))))
868
869
(defn load->fetch [{:keys [current-path]} _e]
0 commit comments