Create a custom page in Q2A (Admin > Pages).
Then in your qa-config.php, add the "page slug" you set to $QA_CONST_PATH_MAP:
$QA_CONST_PATH_MAP=array( 'example-page' => '', );
I think you may be looking for below solution.
go to admin->Layout->Custom content in home page instead of Q&A
Using this option you can add custom homepage with HTML.
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.