{{ define "header-title" }}
{{ with .Site.GetPage "home/nav" }}
<!-- Main title -->
<div class="title">
  <h1>{{ .Title }}</h1>
  <hr/>
  <p>{{ .Params.Tagline | markdownify }}</p>
</div>
{{ end }}
{{ end }}


{{ define "main" }}
{{ with .Site.GetPage "home/intro" }}
<section class="block block-intro">
  <div class="wrap">
    <div class="intro-item">
      <img src="{{ "img/cube.svg" | relURL }}" />
      <div class="intro-col">
        <h2>{{ .Params.Resilient_Title }}</h2>
        {{ .Params.Resilient | markdownify }}
      </div>
    </div>
    <div class="intro-item">
      <img src="{{ "img/extension.svg" | relURL }}" />
      <div class="intro-col">
        <h2>{{ .Params.Extensible_Title }}</h2>
        {{ .Params.Extensible | markdownify }}
      </div>
    </div>
    <div class="intro-item">
      <img src="{{ "img/network.svg" | relURL }}" />
      <div class="intro-col">
        <h2>{{ .Params.FOSS_Title}}</h2>
        {{ .Params.FOSS | markdownify }}
      </div>
    </div>
  </div>
</section>
{{ end }}

{{ with .Site.GetPage "home/about" }}
<section class="block block-content">
  <div class="wrap">
    <h1>{{ .Params.Introduction_Title }}</h1>

    {{ .Params.Introduction | markdownify }}

    <h1>{{ .Params.Meshing_Title }}</h1>
    {{ .Params.Meshing | markdownify }}
  </div>
</section>
{{ end }}

{{ with .Site.GetPage "home/contribute" }}
<section class="block block-contribute">
  <div class="wrap">
    <h1>{{ .Params.Contribute_Title }}</h1>
    {{ .Params.Contribute | markdownify }}
  </div>
</section>
{{ end }}
{{ end }}
