Hi @bogorad,
Thanks for the screenshots and feedback!
The error you are getting seems to be from a malformed link. You are going to want to make sure your links have a redirect URI. It is possible that you have broken your links when trying to clean/trim up the login page. You can view your links by clicking as below on the applications tab (your links may be different):
6EFFAFAE-57D5-446A-8DCF-E0BAC2BDB8A0.png
My additional recommendations would be:
Slowly comment out the FreeMarker templates with a <!-- or a [#-- and test drive your code until you get the result that you would like.
A good workflow for this is to have your FusionAuth Freemarker editor open on one half of your screen and then have the FusionAuth preview editor open on another. This will allow you to quickly iterate to get the look that you desire 👍
CE8CD041-E050-4895-8C76-BE3E1DB6D693_1_105_c.jpeg
Another thing to remember, as mentioned in our theme documentation, the --or-- text block you are looking to remove (and other templating macros and variables) are stored in the helpers section of the FusionAuth Freemarker editor.
CEAF8545-4C58-46A2-BC18-CAC7633A7F22.png
The tooltips can also provide you navigation assistance while you are attempting to build your template/page.
Finally, for Freemarker, there are a lot of resources on the web on how to use it (not sure if you are new to it, there can be a learning curve). I would suggest a google search for available tutorials to get your feet wet.
I hope this helps!
Thanks,
Josh