index.html 813 Bytes
Newer Older
Eugen Rochko's avatar
Eugen Rochko committed
1 2 3 4 5 6 7 8 9 10 11
{{/* Used to render the list of posts on the index page. */}}
<html>
  <head>
    {{ partial "head.html" . }}
    <title>Official Mastodon Blog</title>
  </head>
  <body>
    {{ partial "header.html" . }}

    <div class="intro">
      <div class="container">
Eugen Rochko's avatar
Eugen Rochko committed
12
        <img src="/brand_small.svg" alt="Mastodon" />
Eugen Rochko's avatar
Eugen Rochko committed
13 14 15 16 17 18 19 20 21
        <h1>Official Mastodon Blog</h1>
      </div>
    </div>

    <div class="container">
      {{ .Content }}

      <ul class="thumbnail-grid h-feed">
        {{ range .Paginator.Pages }}
Eugen Rochko's avatar
Eugen Rochko committed
22
          <li class="h-entry">{{ .Render "summary" }}</li>
Eugen Rochko's avatar
Eugen Rochko committed
23 24 25 26 27 28 29 30 31 32 33 34 35
        {{ end }}
      </ul>

      {{ template "_internal/pagination.html" . }}
    </div>

    <div class="container" style="margin-bottom: 30px">
      {{ partial "cta.html" . }}
    </div>

    {{ partial "footer.html" . }}
  </body>
</html>