consolidated left menus into blocks, imported from frame
This commit is contained in:
+3
-3
@@ -6,6 +6,7 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
*}
|
||||
{{ import "block_leftmenus.jet" }}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
@@ -88,11 +89,10 @@
|
||||
{{ if i > 0 }}
|
||||
<div class="mb-2 mt-2"> </div>
|
||||
{{ end }}
|
||||
{{ .SetScratch("__menu", m) }}
|
||||
{{ if m.Tag == "community" }}
|
||||
{{ include "menu_left_comm.jet" }}
|
||||
{{ yield leftCommunityMenu(menu=m) }}
|
||||
{{ else }}
|
||||
{{ include "menu_left.jet" }}
|
||||
{{ yield leftMenu(menu=m) }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user