Skip to content

Commit 0d6d32e

Browse files
committed
hide_header_menu
1 parent 4ba433d commit 0d6d32e

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

content/form/combined-request-form.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ title = "Combined Request Form"
99
draft = false
1010
type = "form"
1111
private = true
12+
hideNavbar = true
1213
+++
1314
<style>
1415
.table thead th {
@@ -24,6 +25,7 @@ private = true
2425
word-break: break-word;
2526
}
2627
</style>
28+
2729
<!-- Core scripts needed for form functionality -->
2830
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
2931
<script type="text/javascript" src="/js/combined-request-form.js"></script>

layouts/cloud/baseof.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@
1919
</head>
2020

2121
<body>
22-
23-
{{ partial "menu-home.html" . }}
22+
23+
{{ if not .Params.hideNavbar }}
24+
{{ partial "menu-home.html" . }}
25+
{{ end }}
2426

2527
{{ partial "site-header.html" . }}
2628

0 commit comments

Comments
 (0)