{{ define "main" }}
<div class="td-content">
    {{ if not .Params.notitle }}
	 <h1>{{ .Title }}</h1>
   {{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
    {{ end }}
    {{ template "docs-portal-content" . }}
{{ end }}

{{ define "content-id" }}content{{ end }}

{{ define "docs-portal-content" }}
  <section id="mainContent" style="    padding: 0;  ">
  <div class="launch-content" style="position: relative; margin: 20px auto 50px;">
    <p>{{ .Params.overview | safeHTML }}</p>
    <br>
    <div class="launch-cards" style="position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; margin-top: 20px;">
      {{ $page := (partial "docs/docs-portal-card" .) }}
      {{ .Scratch.Set "html" $page }}
      {{ $page }}
    </div>
  </div>
</section>
</div>
{{ end }}
