Commit Graph

14 Commits

Author SHA1 Message Date
uriel
fc6a26ec08 Fix sitemap.tpl when $sitedir is an absolute path. Thanks again to arg for reporting, tracking, and fixing this bug! 2009-08-09 21:02:42 +02:00
uriel
677a928bc2 Add lastmod support to sitemap.xml 2009-08-08 05:32:42 +02:00
uriel
a188daebdc Implement the sitemaps.org standard 'protocol' with sitemap.xml. 2009-07-29 01:41:18 +02:00
uriel
345cd6b545 Further HTML5-fication, plus fix some case consistency mismatches. 2009-07-28 20:49:53 +02:00
uriel
8cd04dd184 New context var 'local_file' that will point to the on-disk-file that represents the main content of a given page request (if such exists, otherwise it is '' or ()).
Move title extracting functions from sitemap.tpl to werclib.rc.
Rewrite .md title extraction code to only match first lines when 'underlines' with =.

Use the changes above to generate better page titles when possible.
2009-07-28 20:28:35 +02:00
uriel
1b56834736 Don't include domain in sitemap links, this avoid breaking when port is not 80. 2009-07-25 01:11:15 +00:00
uriel
328c6a394e Properly handle dashes in paths the same way we treated underscores when generating page titles. This includes sitemaps, sidebar nav trees and the page title header itself. 2009-07-19 08:01:42 +02:00
uriel
5e2170a691 Move shared .tpl files to tpl/ from lib/, this fixes a DoS vulneravility where master_template.tpl could be accessed as a standalone .tpl file that recursively called itself. 2009-06-06 16:20:02 +02:00
uriel
189bef9b83 Re-remove tpl/ files that somehow got re-added 2008-06-28 04:16:59 +02:00
uriel
83a98a6a64 Delete left-over files that were either deleted or moved 2007-05-29 05:01:31 +02:00
uriel
e826b3d7a8 Add a bunch of new site files 2007-05-29 04:58:00 +02:00
uriel
bd6b665ce9 Remove obsolete sitemap and minnor style update 2007-05-29 04:04:55 +02:00
uriel
e48d20254f A bunch of stuff before breaking things up 2007-05-28 04:07:40 +02:00
uriel
58060d803e Initial commit 2007-05-27 13:25:55 +02:00