From a78cf9c5b64bacfa589fb1fa6915a9098e5ff49b Mon Sep 17 00:00:00 2001 From: Torsten Oppermann <torsten@sgalinski.de> Date: Fri, 16 Jun 2017 15:21:44 +0200 Subject: [PATCH] [TASK] Update documentation --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index cca83e8..c3018b5 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. -- GitLab