I just wrote a rake task for showing stats about how many pages are
using each Layout. I'm spring cleaning a site which uses unique
layouts for quite a few pages. There are a few old drafts which are no
longer in use, so I wanted to know which layouts I could discard.
I thought it might be useful for others, so I'll share it here.
http://pastie.org/290611
Just paste that code into a file called: /lib/tasks/census.rake then
run:
rake (production) census:layouts
Anyone fancy having a go at doing the same for snippets?
(hint: it's non-trivial ;)
Cheers,
Drew
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant