Uriel
2d8ce10389
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
068ccb8c7f
Don't include domain in sitemap links, this avoid breaking when port is not 80.
2009-07-25 01:11:15 +00:00
Uriel
01876141f3
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
e91609e301
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
75ce62a253
Re-remove tpl/ files that somehow got re-added
2008-06-28 04:16:59 +02:00
Uriel
a742ff8cf6
Delete left-over files that were either deleted or moved
2007-05-29 05:01:31 +02:00
Uriel
628a435997
Add a bunch of new site files
2007-05-29 04:58:00 +02:00
Uriel
b82b27f6cd
Remove obsolete sitemap and minnor style update
2007-05-29 04:04:55 +02:00
Uriel
546713b0d6
A bunch of stuff before breaking things up
2007-05-28 04:07:40 +02:00
Uriel
0257b46c7f
Initial commit
2007-05-27 13:25:55 +02:00