commit - dcea2574e44885e0caffa0a4516f9da47fff77c7
commit + 20b38ec117b1dad112d9ad96aa9af7c045b180f5
blob - 09093ccf5dc73b15679c846eb24913618aece22c
blob + 55da2923d1d107c244f724284545c7c46a916836
--- src/blog/http.clj
+++ src/blog/http.clj
[:p.author "Written by " [:em "Omar Polo"] " on " (time/fmt-loc date)
(list
(when music
- (list " while listening to "
- (let [b (list "“" [:em (:title music)] "”"
- (when-let [by (:by music)]
- (list " by " [:em by])))]
- (list " while listening to "
- (if-let [url (:url music)]
- [:a {:href url
- :target "_blank"
- :rel "noopener"}
- b]
- [:span b])))))
+ (let [b (list "“" [:em (:title music)] "”"
+ (when-let [by (:by music)]
+ (list " by " [:em by])))]
+ (list " while listening to "
+ (if-let [url (:url music)]
+ [:a {:href url
+ :target "_blank"
+ :rel "noopener"}
+ b]
+ [:span b]))))
".")]
[:ul.tags (map #(vector :li [:a {:href (str "/tag/" (name %) ".html")}
(str "#" (name %))])