Skip to content
Snippets Groups Projects
index.html 902 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.blocks }}
      {{- partial "blocks/list.html" . -}}
    {{ else }}
alexisben's avatar
alexisben committed
      <section class="block block-pages block-pages--grid">
        <div class="container">
          <div class="block-content">
            {{- partial "blocks/templates/pages/grid.html" (dict 
                "pages" .Params.children
                "show_images" true
                "show_descriptions" true
                ) }}
          </div>
        </div>
      </section>
    {{ end }}
alexisben's avatar
alexisben committed
  </div>
alexisben's avatar
alexisben committed
{{ end }}