Skip to content
Snippets Groups Projects
index.html 567 B
Newer Older
alexisben's avatar
alexisben committed
{{ define "main" }}
  {{ partial "home/hero.html" . }}

alexisben's avatar
alexisben committed
  <div class="document-content">
alexisben's avatar
alexisben committed
    {{- if not $.Site.Params.home.toc.disabled -}}
      {{ partial "toc/container.html"
          (dict
              "toc" "toc/default.html"
              "context" .
          )
      }}
    {{- end -}}
alexisben's avatar
alexisben committed

alexisben's avatar
alexisben committed
    {{ partial "home/summary.html" (dict
alexisben's avatar
alexisben committed
        "block_wrapped" true
alexisben's avatar
alexisben committed
        "context" .
      ) }}
alexisben's avatar
alexisben committed

alexisben's avatar
alexisben committed
    {{- if .Params.contents }}
      {{- partial "contents/list.html" . -}}
alexisben's avatar
alexisben committed
    {{ else }}
alexisben's avatar
alexisben committed
      {{ partial "pages/children.html" . }}
alexisben's avatar
alexisben committed
    {{ end }}
alexisben's avatar
alexisben committed
  </div>
alexisben's avatar
alexisben committed
{{ end }}