always assoc title in properties

pull/2456/head
Weihua Lu 2021-07-28 14:41:43 +08:00
parent b8b9db7202
commit 16b55ab737
1 changed files with 2 additions and 1 deletions

View File

@ -125,7 +125,8 @@
:date date
:item-type type)
(dissoc :creators)
(rename-keys {:title :original-title}))]
(rename-keys {:title :original-title})
(assoc :title (page-name item)))]
(->> data
(remove (comp str/blank? second))
(into {}))))