[pmwiki-users] Any way to test : if backlink exists ? (then print something)

Hans design1 at softflow.uk
Fri Jan 27 00:20:03 PST 2023


Hello Petko,

Friday, January 27, 2023, 6:39:58 AM, you wrote:

> Then in Site.LocalTemplates:

> (:markup class=norender:)
> [[#groupbacklinks]]
> (:template first:)
> %green% {$$group} has links to {*$FullName}.
> (:template none:)
> %red% {$$group} has NO links to {*$FullName}.
> [[#groupbacklinksend]]
> (:markupend:)

what does (:markup class=norender:) achieve? 
Is it doing the same than (:if false:)
Are there other advantages?
I always used (:if false)...(:ifend:) to hide anchored template blocks in pages.

Best regards,
 Hans                         
mailto:design at bracker.uk




More information about the pmwiki-users mailing list