<!DOCTYPE html>
<html lang="en">

{{ partial "head.html" . }}

<body>

{{ partial "navbar.html" . }}

  <main style="height:100vh;">
    <section class="teal-bg">
      <div class="container one-box">
        <div class="row">
          <div class="col text-center">
            <h1 class="black display-1">{{ .Title }}</h1>
            <p class="black lead">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
          </div>
        </div>
      </div>
    </section>
    <hr>
    <div class="container blog-list two-boxes">
      <div class="row">
            {{ range .Pages }}
            <div class="col-4 mb-5">
              <div class="blog-listing">
                <a class="display-6" href="{{ .RelPermalink }}">{{ .Title }}</a><br>
                <span class="grid-gray">{{ .Date.Format "2006-01-02" }}</span>
                <span class="preview-content">{{ .Content }}</span>
              </div>

            </div>
            {{ end }}
          <a href="/">Back to home</a>
      </div>
    </div>
  </main>
  <footer>
      {{- partial "footer-content.html" . -}}
      {{- partial "footer.html" . -}}
  </footer>

</body>

<style>

  .preview-content{
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

</style>

</html>
