|
From: | Per Bothner |
Subject: | Re: footer navigation headers |
Date: | Fri, 19 Feb 2021 17:40:45 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 |
On 2/19/21 5:30 PM, Patrice Dumas wrote:
On Fri, Feb 19, 2021 at 05:00:45PM -0800, Per Bothner wrote:It works, but if you want to conditionalize whether the footer is printed depending on WORDS_IN_PAGE you have to do something more complicated.It is not only WORDS_IN_PAGE. I think that you are doing it in a very specific way that will make customization of the function very difficult. I think that using another direction or passing another element for the footer would be better.
I'm inclined to agree. The main point of my message was primarily to suggest a goal for the resulting output, assuming a default configuration. Secondarily, that it might make sense to split parts of 'format_element_header' (called at end of each node/section) into a new separate 'format_page_footer' (called at end of page). However, calling 'format_page_footer' while processing the first node/section in a page is almost certainly not the right thing to do. -- --Per Bothner per@bothner.com http://per.bothner.com/
[Prev in Thread] | Current Thread | [Next in Thread] |