Commit Graph

8 Commits

Author SHA1 Message Date
uriel
08d6044274 Rename $baseuri to $base_url 2008-12-28 20:20:48 +01:00
uriel
850e3ec5b9 Sitemap improvemnts and cleanups:
- Avoid nedless tests
- Replace reference to /bin/sed with faster, simpler and probably more correct plan9 sed call.
- Move inline html styling to style.css
- Various code cleanups, bring source style in line with other werc source.
2008-12-20 13:20:31 +01:00
uriel
def444ac29 New menu implementation, removes the recursive calls to rc/awk, also makes use of dirfilter more consistent and simplifies some code.
Other minnor cleanups.
2008-10-27 00:41:23 +01:00
uriel
2cf3a1ef2f Update sitemap.tpl to use _werc/config instead of the deprecated _config, also don't include in sitemap sub-tress where permanentRedirect is set to make Google happy. 2008-10-24 04:19:29 +02:00
uriel
d5e8c705ed Add trailing / for directories in sitemap to make google crawler happy 2008-10-12 22:41:40 +00:00
uriel
20dbcf307e Use /tmp to store temporay sitemap.txt files 2008-09-26 14:48:31 +02:00
uriel
fa3df9d5ac Dynamically generate a sitemap.txt when the sitemap page is requested 2008-09-25 11:04:57 +02:00
uriel
346b758756 Reorganization of included and template files, made more consistent and logical. inc/ is now called lib/, and all non-staic files in pub/ have moved to lib/.
In site dirs _config and _default.tpl have moved to _werc/ in preparation for things like comments.
2008-09-24 20:21:32 +02:00