{{ 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" }}
<div class="intro-block">
  <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>
</div>
{{ end }}

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

    {{ .Params.Introduction | markdownify }}

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

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