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

This commit is contained in:
erik 2024-05-29 11:06:33 +02:00
commit 0b85045158

View file

@ -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)