fixes:
- fixed the mess of options and general inconsistencies between program
man page and help message
- fixed some cases where rivet should fail but didn't and specified
return values for all exit conditions
- fixed the header system, before the header would have been added
inside of <head></head> which is incorrect, browsers would fix it
on the fly but still it is not correct.
Now _header.html contents are put inside <header></header> at the
beginning of <body>
- fixed <footer> outside of <body>
- some fixes in the man page
additions:
- added the requirement for _metadata.html, this file contains tags
and html metadata that is put inside <head>
- the main article is now enclosed inside <article></article> tags for
better styling
Before the date was taken on the destination files, since they are generated
in the right order, lists based on last modified date were right but with
the wrong date.
Now rivet creates another list during the creation of the main object list just
for storing dates of the source files. There is a 1:1 correspondance between
the files in the objlist and the dates in the objdate lists so they can be
retrived with the same counter.
Another change is that now shortened dates are displayed in the index link
list.
Fixed missing newlines in help message and made it so that setting the -m flag
to 0 incudes all files in the atom feed. Also madde this behaviur the default
changes:
- rivet now generates an atom feed with the last 3 (configurable)
modified articles
- rivet now generates links in the index list to html files in srcdir
- Articles with unkown title will have their filename as the title
- minor code refractor