Generator or Plugin

I've made a very simple CMS to help build simple web site. It contains
a page model and allows you to add new pages using the markdown
language. I'd like to abstract this functionality as I feel that I
might want to use it in future sites that I build. and have been
reading the Rails recipe book. My options appear to be: Write a
generator that will produce all the relevant code or Create a plugin
that will add this functionality to a site. Has anybody got any
suggestions/reasons why I should go with one or the other, or is there
a third way?

cheers,

DAZ

Copy and paste?

hmmm...there are quite a number of files and folders involved. I'm not
sure this is the most efficient way of doing it?

DAZ

A plugin would be nicer and easier to manage.