Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sitemap for external urls includes : in the label #2029

Open
siddhantk232 opened this issue Nov 20, 2024 · 0 comments
Open

Sitemap for external urls includes : in the label #2029

siddhantk232 opened this issue Nov 20, 2024 · 0 comments
Assignees

Comments

@siddhantk232
Copy link
Contributor

siddhantk232 commented Nov 20, 2024

For the following sitemap setting in FASTN.ftd:

-- fastn.sitemap:

# Course: https://nandhini.in/build-blog/

# Templates: https://www.fifthtry.com/featured/

The rendered title of sitemap-data#sections record contains the ":" which it shouldn't:

image

The code that renders the above section of the page:

-- import: fastn/processors as pr

-- pr.sitemap-data sitemap:
$processor$: pr.full-sitemap

-- header-item: $obj.title
for: $obj in $sitemap.sections
link: $obj.url
is-active: $obj.is-active
@siddhantk232 siddhantk232 self-assigned this Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant