Editing pages from dashboard

to display page content in custom theme you should use page.php template,
and call the_content() inside the loop.
You can also create custom template for different pages and assign them in back end.
See: https://developer.wordpress.org/themes/template-files-section/page-template-files/

error code: 523