Score:0

How to use custom HTML code for a front page

ar flag

I want to use custom HTML code for a front page in drupal 8 but I am a bit lost of how to do it. Is it possible to just insert a piece of HTML code in a basic page content? Or what is the best way to do it? I have full access to the server and I can modify any file if needed. Thank you.

miststudent2011 avatar
fr flag
Does this answer your question ? https://drupal.stackexchange.com/questions/293828/how-can-i-restrict-access-to-a-static-html-page-served-from-a-subfolder-of-my-si
Score:1
cn flag

You can make any node be the front page. So, if you have a basic page with a body field, you can place your html there. Then, go to admin > configuration > system (basic site settings) and set the path to your node as the front page such as /node/6.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.