Style tweaks

pull/645/head
Tienson Qin 2020-05-17 12:41:59 +08:00
parent 44625d13cc
commit 5c0e22879b
1 changed files with 2 additions and 2 deletions

View File

@ -193,11 +193,11 @@
(when (util/uuid-string? id) (when (util/uuid-string? id)
(when-let [heading (db/get-heading-by-uuid (uuid id))] (when-let [heading (db/get-heading-by-uuid (uuid id))]
[:span [:span
[:span "(("] [:span.text-gray-500 "(("]
[:a {:href (str "/page/" id)} [:a {:href (str "/page/" id)}
(->elem :span.block-ref (->elem :span.block-ref
(map-inline config (:heading/title heading)))] (map-inline config (:heading/title heading)))]
[:span "))"]]))) [:span.text-gray-500 "))"]])))
["Link" link] ["Link" link]
(let [{:keys [url label title]} link] (let [{:keys [url label title]} link]