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

    <meta property="og:title" content="Mastodon (Blog)" />
Eugen Rochko's avatar
Eugen Rochko committed
8
    <meta property="og:type" content="blog" />
Eugen Rochko's avatar
Eugen Rochko committed
9 10 11 12
    <meta property="og:description" content="Official blog of Mastodon, the decentralized social network of the future. Keep up with new developments!" />

    <meta name="twitter:card" content="summary_large_image" />
    <meta name="twitter:site" content="@MastodonProject" />
Eugen Rochko's avatar
Eugen Rochko committed
13 14 15 16 17 18
  </head>
  <body>
    {{ partial "header.html" . }}

    <div class="intro">
      <div class="container">
Eugen Rochko's avatar
Eugen Rochko committed
19
        <img src="/brand_small.svg" alt="Mastodon" />
Eugen Rochko's avatar
Eugen Rochko committed
20 21 22 23 24 25 26 27 28
        <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
29
          <li class="h-entry">{{ .Render "summary" }}</li>
Eugen Rochko's avatar
Eugen Rochko committed
30 31 32 33 34 35 36 37 38 39 40 41 42
        {{ end }}
      </ul>

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

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

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