Jean-Rene David
2003-08-20 21:36:49 UTC
Hello,
I am using vim to edit and manage my little website. All the pages have
the same structure/layout, a pretty common thing I guess.
I wonder what tricks people use to efficiently manage such a website,
i.e. how to minimize the work when making modifications to the structure
of the site.
Personnally, I have a template file with no content and each time I want
to change the structure of the site, I change the template. I also have
what I call "content" files, which basically contain just the, well,
content. So what I do after I've updated the template file is regenerate
the site by merging the template with each content file using a little
script I wrote.
Now all this seems awfully tedious but I don't see any other way to do
it. Does anybody have suggestions?
I am using vim to edit and manage my little website. All the pages have
the same structure/layout, a pretty common thing I guess.
I wonder what tricks people use to efficiently manage such a website,
i.e. how to minimize the work when making modifications to the structure
of the site.
Personnally, I have a template file with no content and each time I want
to change the structure of the site, I change the template. I also have
what I call "content" files, which basically contain just the, well,
content. So what I do after I've updated the template file is regenerate
the site by merging the template with each content file using a little
script I wrote.
Now all this seems awfully tedious but I don't see any other way to do
it. Does anybody have suggestions?