Yeararchives question

"Sebastian Spaeth" <[email protected]> Tue, 04 May 2010 15:22:17 +0200
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
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

------------------------------------------------------------------------------

_______________________________________________
Pyblosxom-devel mailing list
Pyblosxom-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/pyblosxom-devel
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkvgH4kACgkQVYX1jMgnoGKfeACghJ1M7yB21PAO48E4wahTkOiq
c5MAnRtq+LothD2IHTv7qovRpcNVPa5V
=XW8P
-----END PGP SIGNATURE-----