Hardcoded entry link extension

why the lucky stiff why at hobix.com
Mon Nov 8 21:21:28 EST 2004


Andre Nathan wrote:
> I have noticed that in storage/filesys.rb, save_entry() uses a hardcoded
> extention for the entry `link' property:
> 
> e.link = "#{ @link }/#{ id }.html"
> 

This has changed in the CVS version.  Hobix should detect the proper 
extension based on which templates use the `entry' prefix.  If you need 
to force an extension because you are outputing multiple extensions, you 
can set `central_ext' in hobix.yaml.

You can also set a `central_prefix' if you're using a different prefix 
(rather than `entry') to build your core pages.

If you're sketchy about using CVS hobix, then I'll push out a 0.3b soon.

_why



More information about the Hobix-is-the-way mailing list