From 9de65df523175eed621c8e8c312ad986df19e7f1 Mon Sep 17 00:00:00 2001 From: lacarmen Date: Thu, 22 Jan 2015 12:18:32 -0500 Subject: [PATCH] Added :content key to grouped tags in order to fix filtered rss generation --- project.clj | 4 ++-- src/cryogen_core/compiler.clj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/project.clj b/project.clj index 5b7ed26..d11a2b1 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject cryogen-core "0.1.18" +(defproject cryogen-core "0.1.19" :description "Cryogen's compiler" :url "https://github.com/lacarmen/cryogen-core" :license {:name "Eclipse Public License" @@ -9,7 +9,7 @@ [crouton "0.1.2"] [cheshire "5.4.0"] [clj-text-decoration "0.0.3"] - [io.aviso/pretty "0.1.13"] + [io.aviso/pretty "0.1.14"] [hiccup "1.0.5"] [selmer "0.7.9"] [pandect "0.5.0"]]) diff --git a/src/cryogen_core/compiler.clj b/src/cryogen_core/compiler.clj index f126dea..0594d5e 100644 --- a/src/cryogen_core/compiler.clj +++ b/src/cryogen_core/compiler.clj @@ -138,7 +138,7 @@ "Adds the uri and title of a post to the list of posts under each of its tags" [tags post] (reduce (fn [tags tag] - (update-in tags [tag] (fnil conj []) (select-keys post [:uri :title]))) + (update-in tags [tag] (fnil conj []) (select-keys post [:uri :title :content]))) tags (:tags post))) (defn group-by-tags