Closed flaneuse closed 1 year ago
Also have to manually add to the Nav bar dropdown in header.html.
This is already refactored in the new website, I do think it was annoying as well. Hopefully the new way is a lot smoother and easier only having to make edits in one place. Right now this is not possible because I can't share data across multiple pages so duplication is an issue. Closing this as this will be taken care of soon but can't do much about it on the current version.
When defining a new /portal, there's a couple of places where things are hardcoded which could be refactored to be a bit more robust.
"ctsa": {name: ....}
) or do a filter / get first element logic.portals.json
file that both routes access, so you can define one set of names/defs rather than having to maintain them in two places.Thanks!