fastn-old icon indicating copy to clipboard operation
fastn-old copied to clipboard

TOC - SITEMAP - `$toc.url` check breaking

Open gsalunke opened this issue 2 years ago • 0 comments

In the sitemap, if an entry does not have a URL specified, the toc.url is supposed to be null.

We are using below check whether $toc.url is present or not and if $toc.url is null we are not including link: $toc.url into our FTD files.

--- ftd.text:
if: $toc.url is not null
link: $toc.url

But we observed toc.link is always present, even when the URL is not present in sitemap.

gsalunke avatar Aug 18 '22 07:08 gsalunke