[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: security/faq.wml: LoQ



On Wed, Jan 16, 2002 at 08:50:20AM +0100, Denis Barbier wrote:
> > > here is a patch to add list of questions at the top of page.
> > > If you like it, I could provide a more generic solution for automatic ToC.

> +<define-tag-sliced faq-title-question endtag="required" whitespace="delete">
> +    [EN:<p><em>Q: %body</em></p>:]
> +</define-tag-sliced>
> +
> +<set-var faq:_cnt=0 />
> +<define-tag faq-question endtag="required">
> +<increment faq:_cnt />
> +<p><a name="<get-var faq:_cnt/>"></a>\
> +   <em><faq-title-question>%body</faq-title-question></em></p>
> +{#ToC_questions#:<li><a href="#<get-var faq:_cnt/>">%body</a></li>
> +:##}
> +</define-tag>
> +
>  
> +<ul>
> +{#ToC_questions#}
> +</ul>
> +
> +<faq-question>
> +  The signature on your advisories does not verify correctly!
> +</faq-question>
>  
> +<faq-question>
> +  How is security handled in Debian?
> +</faq-question>

Cool. I wonder if something like this could be done for CD/faq/index.wml?

-- 
     2. That which causes joy or happiness.



Reply to: