Re: Pyblosxom permalinks are not permanent

will <[email protected]> Thu, 10 Sep 2009 14:54:34 -0400
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
will wrote:
> Steve Hoelzer wrote:
>> Setting truncate_date to 1 or 0 didn't seem to have any effect for me.
>> /2009/09/index.html is rendered with the 2nd and 3rd entries only. I
>> expected to see all 3.
> 
> Bah...  It's a bug.  I fixed it, but I screwed up my repository somehow, 
> so I have to fix that before I can check it in.  I'll try to get to it 
> today.

It's checked in now as r1334.

To summarize, there are three truncate_* config variables which will 
affect how truncation works:

truncate_date - whether or not date-based archives are truncated to 
num_entries.

truncate_category - whether or not category-based archives are truncated 
to num_entries.

truncate_frontpage - whether or not the front page is truncated to 
num_entries.


I added the last one figuring someone's going to ask for it some day and 
I needed to add a check for the situation anyhow.

I haven't updated the documentation, yet.

/will

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july