|
From: will kahn-g. <wi...@bl...> - 2010-05-04 14:10:34
|
That's my fault, too. I only recently converted wbgarchives to
yeararchives. The former was a hack for my site. The latter should be
less hacky.
I think in this case we want to specify the flavour. It shouldn't be
hardcoded to html, but it should be the flavour the user is currently
viewing the site with. You actually just fixed an issue with this very
thing in the tags plugin. The fix for this plugin should be similar to
that section of the tags plugin.
Also, we should probably make the template configurable like we did with
the category and tags plugins.
/will
On 05/04/2010 09:22 AM, Sebastian Spaeth wrote:
> First of all, the yeararchives is great, exactly what I need. Second,
> permalinks on the single pages are constructed
>
> l = ("(%(path)s) <a href=\"" + baseurl +
> "/%(file_path)s.html\">%(title)s</a><br>")
>
>
> which hardcodes the .html flavour, which I don't use for example.
>
> l = ("(%(path)s) <a href=\"" + baseurl +
> - "/%(file_path)s.html\">%(title)s</a><br>")
> + "/%(file_path)s\">%(title)s</a><br>")
>
> If you agree please pull the above patch from my spaetz-pyblosxom.git
> repo in the archive-flavour branch which contains only this patch over
> master.
>
> Just using the base URL will pick whatever default flavor we have
> chosen, which is certainly what we want to use here.
>
> Sebastian
|