1

I'm trying to remove the login form from the front page, but i see both frontpage and user/login page are using the same template file: page--front.html.twig.

Is there a way to use two different template files for each page?

  • check your blocks, your login form might be a block. – No Sssweat Dec 26 '15 at 3:42
  • Or your frontpage is set to /user. In that case, just configure the frontpage to whatever you want it to be. – Berdir Dec 26 '15 at 10:20
3

Try going to Admin/Structure/Blocks and set User account menu's region to None.

| improve this answer | |
0

I had the front page set to null. I had to create an empty basic page and set it as front page to be able to have a front page different than the /user/login page. I don't feel it's the best way to do it, but it works.

| improve this answer | |
  • use panels if you could try panopoly. – Josh Dec 26 '15 at 20:04
  • Panels is still in development for drupal 8. i wouldn't like to add a whole module for this... – Noquepoaqui Dec 26 '15 at 23:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.