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

    <meta property="og:title" content="Mastodon (Blog)" />
Eugen Rochko's avatar
Eugen Rochko committed
9
    <meta property="og:type" content="blog" />
Eugen Rochko's avatar
Eugen Rochko committed
10 11 12 13
    <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
14 15 16 17 18 19
  </head>
  <body>
    {{ partial "header.html" . }}

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

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

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

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