Skip to content

Commit

Permalink
[!!!][TASK] Move main tag to contain all relevant content
Browse files Browse the repository at this point in the history
Relates: #1293
Relates: #1344
  • Loading branch information
benjaminkott committed Jun 13, 2023
1 parent d721e1a commit 2bceb14
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions Resources/Private/Layouts/Page/Default.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
<f:render section="Border" optional="true" />
<f:render partial="Navigation/Breadcrumb" arguments="{_all}" />

<div id="page-content" class="bp-page-content main-section">
<main id="page-content" class="bp-page-content main-section">
<!--TYPO3SEARCH_begin-->
<f:render section="Main" />
<!--TYPO3SEARCH_end-->
</div>
</main>

<footer id="page-footer" class="bp-page-footer">
<f:render partial="DropIn/Structure/FooterBefore" arguments="{_all}" />
Expand Down
4 changes: 2 additions & 2 deletions Resources/Private/Templates/Page/2Columns.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<div class="section section-default">
<div class="container">
<div class="section-row">
<main class="section-column maincontent-wrap">
<div class="section-column maincontent-wrap">
<f:cObject typoscriptObjectPath="lib.dynamicContent" data="{pageUid: '{data.uid}', colPos: '0', slide: '{theme.pagelayout.{pagelayout}.colPos.0.slide}'}" />
</main>
</div>
<div class="section-column subcontent-wrap">
<f:cObject typoscriptObjectPath="lib.dynamicContent" data="{pageUid: '{data.uid}', colPos: '2', slide: '{theme.pagelayout.{pagelayout}.colPos.2.slide}'}" />
</div>
Expand Down
4 changes: 2 additions & 2 deletions Resources/Private/Templates/Page/2Columns2575.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<div class="section section-default">
<div class="container">
<div class="section-row">
<main class="section-column maincontent-wrap" >
<div class="section-column maincontent-wrap" >
<f:cObject typoscriptObjectPath="lib.dynamicContent" data="{pageUid: '{data.uid}', colPos: '0', slide: '{theme.pagelayout.{pagelayout}.colPos.0.slide}'}" />
</main>
</div>
<div class="section-column subcontent-wrap">
<f:cObject typoscriptObjectPath="lib.dynamicContent" data="{pageUid: '{data.uid}', colPos: '1', slide: '{theme.pagelayout.{pagelayout}.colPos.1.slide}'}" />
</div>
Expand Down
4 changes: 2 additions & 2 deletions Resources/Private/Templates/Page/2Columns5050.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<div class="section section-default">
<div class="container">
<div class="section-row">
<main class="section-column maincontent-wrap">
<div class="section-column maincontent-wrap">
<f:cObject typoscriptObjectPath="lib.dynamicContent" data="{pageUid: '{data.uid}', colPos: '0', slide: '{theme.pagelayout.{pagelayout}.colPos.0.slide}'}" />
</main>
</div>
<div class="section-column subcontent-wrap">
<f:cObject typoscriptObjectPath="lib.dynamicContent" data="{pageUid: '{data.uid}', colPos: '2', slide: '{theme.pagelayout.{pagelayout}.colPos.2.slide}'}" />
</div>
Expand Down
4 changes: 2 additions & 2 deletions Resources/Private/Templates/Page/2ColumnsOffsetRight.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<div class="section section-default">
<div class="container">
<div class="section-row">
<main class="section-column maincontent-wrap">
<div class="section-column maincontent-wrap">
<f:cObject typoscriptObjectPath="lib.dynamicContent" data="{pageUid: '{data.uid}', colPos: '0', slide: '{theme.pagelayout.{pagelayout}.colPos.0.slide}'}" />
</main>
</div>
<div class="section-column subcontent-wrap">
<f:cObject typoscriptObjectPath="lib.dynamicContent" data="{pageUid: '{data.uid}', colPos: '2', slide: '{theme.pagelayout.{pagelayout}.colPos.2.slide}'}" />
</div>
Expand Down
4 changes: 2 additions & 2 deletions Resources/Private/Templates/Page/3Columns.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<div class="section section-default">
<div class="container">
<div class="section-row">
<main class="section-column maincontent-wrap">
<div class="section-column maincontent-wrap">
<f:cObject typoscriptObjectPath="lib.dynamicContent" data="{pageUid: '{data.uid}', colPos: '0', slide: '{theme.pagelayout.{pagelayout}.colPos.0.slide}'}" />
</main>
</div>
<div class="section-column subcontent-wrap">
<f:cObject typoscriptObjectPath="lib.dynamicContent" data="{pageUid: '{data.uid}', colPos: '1', slide: '{theme.pagelayout.{pagelayout}.colPos.1.slide}'}" />
</div>
Expand Down
4 changes: 2 additions & 2 deletions Resources/Private/Templates/Page/SubnavigationLeft.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<div class="section-column subnav-wrap">
<f:render partial="Navigation/Subnavigation" arguments="{_all}" />
</div>
<main class="section-column maincontent-wrap">
<div class="section-column maincontent-wrap">
<f:cObject typoscriptObjectPath="lib.dynamicContent" data="{pageUid: '{data.uid}', colPos: '0', slide: '{theme.pagelayout.{pagelayout}.colPos.0.slide}'}" />
</main>
</div>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<div class="section-column subnav-wrap">
<f:render partial="Navigation/Subnavigation" arguments="{_all}" />
</div>
<main class="section-column maincontent-wrap">
<div class="section-column maincontent-wrap">
<f:cObject typoscriptObjectPath="lib.dynamicContent" data="{pageUid: '{data.uid}', colPos: '0', slide: '{theme.pagelayout.{pagelayout}.colPos.0.slide}'}" />
</main>
</div>
<div class="section-column subcontent-wrap">
<f:cObject typoscriptObjectPath="lib.dynamicContent" data="{pageUid: '{data.uid}', colPos: '1', slide: '{theme.pagelayout.{pagelayout}.colPos.1.slide}'}" />
</div>
Expand Down
4 changes: 2 additions & 2 deletions Resources/Private/Templates/Page/SubnavigationRight.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<div class="section-column subnav-wrap">
<f:render partial="Navigation/Subnavigation" arguments="{_all}" />
</div>
<main class="section-column maincontent-wrap">
<div class="section-column maincontent-wrap">
<f:cObject typoscriptObjectPath="lib.dynamicContent" data="{pageUid: '{data.uid}', colPos: '0', slide: '{theme.pagelayout.{pagelayout}.colPos.0.slide}'}" />
</main>
</div>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<div class="section-column subnav-wrap">
<f:render partial="Navigation/Subnavigation" arguments="{_all}" />
</div>
<main class="section-column maincontent-wrap">
<div class="section-column maincontent-wrap">
<f:cObject typoscriptObjectPath="lib.dynamicContent" data="{pageUid: '{data.uid}', colPos: '0', slide: '{theme.pagelayout.{pagelayout}.colPos.0.slide}'}" />
</main>
</div>
<div class="section-column subcontent-wrap">
<f:cObject typoscriptObjectPath="lib.dynamicContent" data="{pageUid: '{data.uid}', colPos: '2', slide: '{theme.pagelayout.{pagelayout}.colPos.2.slide}'}" />
</div>
Expand Down

0 comments on commit 2bceb14

Please sign in to comment.