Move main menu to top of menus

This commit is contained in:
Daniel Siepmann 2022-01-27 15:49:36 +01:00
parent 7eafd33208
commit f6f3100684
3 changed files with 10 additions and 13 deletions

View file

@ -45,14 +45,13 @@
</f:section> </f:section>
<f:section name="Aside"> <f:section name="Aside">
{f:render(partial: 'MainMenu', arguments: {
pages: mainMenu.0.children
})}
{f:render(section: 'TableOfContent', arguments: { {f:render(section: 'TableOfContent', arguments: {
pageContent: pageContent pageContent: pageContent
})} })}
{f:render(partial: 'MainMenu', arguments: {
pages: mainMenu.0.children
})}
</f:section> </f:section>
<f:section name="TableOfContent"> <f:section name="TableOfContent">

View file

@ -8,6 +8,10 @@
</f:section> </f:section>
<f:section name="Aside"> <f:section name="Aside">
{f:render(partial: 'MainMenu', arguments: {
pages: mainMenu.0.children
})}
<details open> <details open>
<summary> <summary>
<h2>Blog Posts by</h2> <h2>Blog Posts by</h2>
@ -23,9 +27,5 @@
topics: allTopics topics: allTopics
})} })}
</details> </details>
{f:render(partial: 'MainMenu', arguments: {
pages: mainMenu.0.children
})}
</f:section> </f:section>
</html> </html>

View file

@ -12,6 +12,9 @@
</f:section> </f:section>
<f:section name="Aside"> <f:section name="Aside">
{f:render(partial: 'MainMenu', arguments: {
pages: mainMenu.0.children
})}
{f:render(section: 'Breadcrumb', arguments: { {f:render(section: 'Breadcrumb', arguments: {
breadcrumb: rootline breadcrumb: rootline
@ -20,11 +23,6 @@
{f:render(section: 'TableOfContent', arguments: { {f:render(section: 'TableOfContent', arguments: {
pageContent: pageContent pageContent: pageContent
})} })}
{f:render(partial: 'MainMenu', arguments: {
pages: mainMenu.0.children
})}
</f:section> </f:section>
<f:section name="Breadcrumb"> <f:section name="Breadcrumb">