We have setup our home page to show the sections as seen in this partial screenshot:
Sample of the code:
I would like to config the Product Roadmap to open the roadmap article instead of the section.
Tried adding in if statements etc but not 100% how to do it. Either the editor says what I'm trying to do it incorrect, or everything breaks.
What I have done that kinda works, is to add this js in the section_page.hbs
I say kinda works as the section page still opens briefly, then redirects to the article.
Any suggestions how to if possible, implement the redirect on the home page so that the correct url is followed from there.
Or, maybe make the redirect from the section page smoother/quicker?
Edit: Noticed if the script is added to the top of the page (previously at the end), the load is a bit faster and does not display the section as before. Redirecting from home will still be 1st prize.
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.