TYPO3 Fluid: Link your existing template to the layout
Now that you have a layout, you'll have to link the content template (fileadmin/templates/main_1_column_with_menu.html) to the layout and indicate in which section it will be placed. The TYPO3Buddy layout has only one section, you nevertheless need to declare this explicitely in your content template. Open fileadmin/templates/main_1_column_with_menu.html and edit the file until it looks like this:
<f:layout name="main_layout" />
<f:section name="content">
<div id="content">
<div id="content_menu">
<f:cObject typoscriptObjectPath="lib.content_menu" />
</div>
<div id="content_main">
<f:format.raw>{content_main}</f:format.raw>
</div>
<div class="clearer"></div>
</div>
</f:section>
Note that the value of the name property of the f:layout viewhelper is the same as the file name of your layout (without the extension): <f:layout name="main_layout" /> for main_layout.html.
Please note: if your using TYPO3 v10, loading your website will result in an error at this point. Just continue following the tutorial.
Next step: tell your TYPO3 installation to use the layout ->

Kind reminder! This tutorial has been tested with and updated for TYPO3 v10. Please keep in mind that the tutorial has once been set up for TYPO3 v6. It follows some deprecated conventions. If so, this will be mentioned in the tutorial.