{{ $ := .root }}
{{ $page := .page }}

<div class="row">
  <div class="col-xs-12 col-md-4 section-heading">
    <h1>{{ with $page.Title }}{{ . | markdownify }}{{ end }}</h1>
    {{ with $page.Params.subtitle }}<p>{{ . | markdownify }}</p>{{ end }}
  </div>
  <div class="col-xs-12 col-md-8">
    {{ with $page.Content }}<p>{{ . | markdownify }}</p>{{ end }}

    <div id="search-box">
      {{ if eq $.Site.Params.search.engine 1 }}
      <input name="q" id="search-query" placeholder="{{ i18n "search_placeholder" }}" autocapitalize="off" autocomplete="off" autocorrect="off" role="textbox" spellcheck="false" type="search">
      {{ else }}
      <!-- Search box will appear here -->
      {{ end }}
    </div>

    <div id="search-hits">
      <!-- Search results will appear here -->
    </div>

  </div>
</div>
