_layouts/homepage.html in dta_rapid-1.3.3 vs _layouts/homepage.html in dta_rapid-1.3.5
- old
+ new
@@ -10,15 +10,17 @@
</head>
<body class="uikit-body">
<main class="uikit-grid">
{% include navigation/header.html %}
- <header class="uikit-header uikit-header--gradient">
- <div class="container">
- <h2>What would you like help with today?</h2>
- {% include lists/suggestion-search.html placeholder="Search (e.g. Make a claim)" %}
- </div>
- </header>
+ {% if page.search %}
+ <header class="uikit-header uikit-header--gradient">
+ <div class="container">
+ <h2>What would you like help with today?</h2>
+ {% include lists/suggestion-search.html placeholder="Search (e.g. Make a claim)" %}
+ </div>
+ </header>
+ {% endif %}
<div class="container">{{ content }}</div>
<footer class="uikit-footer"><div class="container">{{ page.footer }}</div></footer>
</main>
{% include scripts.html %}