{{ define "main" }}
  <h1>{{ .Title }}</h1>

  {{ with .Description }}
    <p>{{.}}</p>
  {{ end }}
  <aside>
    {{.TableOfContents}}
  </aside>
  <div class="e-content">
    {{ .Content }}

    <p style="color: #606085;">
      {{ i18n "lastUpdated" }} {{ .Lastmod.Format "January 2, 2006" }}{{ with .File }} · <a href='https://github.com/mastodon/documentation/tree/main/content/{{ page.Language.Lang }}/{{ .Path }}' style="color: #606085;">{{ i18n "improvePage" }}{{ end }}</a>

      {{ if .IsTranslated }}
        <br />

        {{ i18n "otherTranslations" }}

        {{ range .Translations }}
          <a href="{{ .RelPermalink }}" style="color: #606085;" hreflang="{{ .Lang }}">{{ .Language.LanguageName }}</a>
        {{ end }}
      {{ end }}
    </p>

  </div>
{{ end }}
