Client routing for internal `content` links

Frontity Roadmap :biking_man:

Feature Card


Right now an internal link found in content.rendered triggers a new SSR. It should be captured in Frontity and switched to a client route.

User Stories

As a Frontity developer
I want to use Frontity’s router for all the internal links found in content.rendered
so that when readers click, the route change is done in the client

Possible solution

We have to add a processor for this.

Also, as noted by @mmczaplinski, we should check for absolute links and change them to relative links.

For example, in a site with a WordPress URL we need to do this change:

<a href="">

<a href="/some-post">