on master help sign in
Mention how groups work with Hakyll.Core.Rules.create.
commit80f385c36110d90bab5e0cf085d557d546911eb6 authorTroels Henriksen <athas@sigkill.dk> dateFri 17 Feb 2012, 16:25 (15 years ago) parentff8bb31
1 file changed+3−1
src/Hakyll/Core/Rules.hs+3−1
src/Hakyll/Core/Rules.hs+3−1
@@ -140,7 +140,9 @@ compile compiler = do
140140-- This sets a compiler for the given identifier. No resource is needed, since
141141-- we are creating the item from scratch. This is useful if you want to create a
142142-- page on your site that just takes content from other items -- but has no
143−-- actual content itself.
143+-- actual content itself. Note that the group of the given identifier is
144+-- replaced by the group set via 'group' (or 'Nothing', if 'group' has not been
145+-- used).
144146--
145147create :: (Binary a, Typeable a, Writable a)
146148 => Identifier a -> Compiler () a -> RulesM (Identifier a)