diff --git a/README.md b/README.md index cca83e8ef4fda816c74148c26c88ae4813b16892..c3018b588abf20f17fd7dfa6c0a466476c24238f 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,25 @@ By default it will resolve to the following code if not provided by you: lib.mainContent < styles.content.col1 ``` +### Example integration into your page template +Finally you need to output the **INTRO** and **CONTENT** variable in your page template: + + <main> + <!--TYPO3SEARCH_begin--> + <f:if condition="{INTRO}"> + <div class="intro-section"> + {INTRO -> f:format.raw()} + {BREADCRUMB_MENU -> f:format.raw()} + </div> + </f:if> + + <div class="main-content"> + {CONTENT -> f:format.raw()} + </div> + <!--TYPO3SEARCH_end--> + </main> + + ### Tags In addition to categories, multiple tags can be created and specified for each news page.