 #?(:clj
    (defn irl "internal resource locator"
      ([fragment _]                                          ; static option
-      (str "/" fragment ".html"))
+      (str "/" fragment))
 
      ([fragment]
       (irl fragment true))


     ([fragment static]
      (if static
        (str "/" fragment ".html")
        (if (= prefix "#")
          (str "/#/" fragment)
          (str "/" fragment))))))                           ;; :todo test

  ;;(core/isrc "/assets/foo.png" :style {:color "red"} :width 3)
  ;;=> {:src "/assets/foo.png", :style {:color "red"}, :width 3}
  )


#?(:cljs
