On Wed, 12 Dec 2007 16:53:00 -0500, Joey Hess wrote: > What I've been pondering doing is changing how ikiwiki uses templates > when generating blogs. Rather than assembling several templates, I think > it could just fill out one template, that includes the feed links, and > blog content. Then if you want to move the feed links, you can modify > that template. > > Of course, that means such a change would be global. Were you wanting > to move the feed links globally, or only for a single page?
We want to move them globally. > Nis Martensen wrote: > > However, this will change the feedlink URIs, because page_numfeeds is > > incremented even when no feeds are actually being generated. The > > following change avoids this. > > Applied. I found that there are still two things, where the second might be a problem: - In case of several inlines on one page, $feednum will now start being incremented at the first inline where $feeds is set. Even when no feeds are generated for later inlines. The first of the attached patches changes this. (I'm not sure if it's also worth applying the second.) - This patch series (including the one you just applied) might break existing feeds (by changing their URIs) on ikiwiki-powered web sites... Thanks, Nis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]