Merge branch 'master' of ssh://repo.prod.meissa.de:2222/meissa/dda-masto-embed

master
erik 1 month ago
commit 0b85045158

@ -101,8 +101,7 @@
(defn masto->html [statuses] (defn masto->html [statuses]
(let [html (b/post-html-hiccup)] (let [html (b/post-html-hiccup)]
(map (fn [status] (map (fn [status]
(let [{:keys [account created_at content media_attachments replies_count reblogs_count favourites_count card url]} status (let [{:keys [account created_at content media_attachments replies_count reblogs_count favourites_count card url]} status]
abc (js/console.log "CARD: " card)]
(-> html (-> html
(masto-header->html account created_at url) (masto-header->html account created_at url)
(masto-content->html content) (masto-content->html content)

Loading…
Cancel
Save