]> oss.titaniummirror.com Git - webber.git/log
webber.git
14 years agoread_*, webber: fix loading of files with "Umlaut" characters
Holger Schurig [Thu, 25 Jun 2009 21:44:58 +0000 (23:44 +0200)]
read_*, webber: fix loading of files with "Umlaut" characters

You cannot do some f.readline() actions and then read the rest via f.read(),
at least not not if the files aren't pure ASCII.

14 years agolink: guard against "pages" without link-titles (e.g. graphics files)
Holger Schurig [Thu, 25 Jun 2009 21:44:05 +0000 (23:44 +0200)]
link: guard against "pages" without link-titles (e.g. graphics files)

14 years agodoc: document two different style to make a sitemap
Holger Schurig [Thu, 25 Jun 2009 14:41:20 +0000 (16:41 +0200)]
doc: document two different style to make a sitemap

14 years agohistory: convert all get_XXX() functions from the history plugin so
Holger Schurig [Thu, 25 Jun 2009 14:14:22 +0000 (16:14 +0200)]
history: convert all get_XXX() functions from the history plugin so
that they don't return file.title, file.mtime, file.whatever (or a
subset of this), but instead the whole file object.

Update documentation accordingly.

14 years agodoc: fix ancestry of some pages
Holger Schurig [Thu, 25 Jun 2009 13:00:55 +0000 (15:00 +0200)]
doc: fix ancestry of some pages

14 years agohierarchy: fix ordering of menu entries
Holger Schurig [Thu, 25 Jun 2009 12:53:59 +0000 (14:53 +0200)]
hierarchy: fix ordering of menu entries

Previously the code tried to determine a new "file.order" value by
iterating over all files, looking for the highest order. It then
assigned order+100 to a file which didn't have a an order specified.

This turned out to be a flaw of thinking, because the order in which
files are is non-deterministic.

14 years agohierarchy: support for a sitemap
Holger Schurig [Wed, 24 Jun 2009 20:50:53 +0000 (22:50 +0200)]
hierarchy: support for a sitemap

Also increased level in sidemenu and sitemap for all pages below "Home".

14 years agopageformat.md: document `template:`, `description:` and `keywords:`
Holger Schurig [Wed, 24 Jun 2009 20:49:53 +0000 (22:49 +0200)]
pageformat.md: document `template:`, `description:` and `keywords:`

14 years agowebber: get_link_from(), get_time():
Holger Schurig [Wed, 24 Jun 2009 20:41:17 +0000 (22:41 +0200)]
webber: get_link_from(), get_time():

get_link_from() now access `class File` objects, not just names
introduce new function get_time()

14 years agoInitial commit
Holger Schurig [Wed, 24 Jun 2009 15:20:12 +0000 (17:20 +0200)]
Initial commit