index.html 780 B

1234567891011121314151617181920212223242526272829
  1. {{ define "title"}}{{ .Site.Title }}{{ end }}
  2. {{ define "main" }}
  3. <h1>{{ .Title }}</h1>
  4. {{ with .Description }}
  5. <p>{{.}}</p>
  6. {{ end }}
  7. <div class="e-content">
  8. {{ .Content }}
  9. <p style="color: #687590;">
  10. {{ i18n "lastUpdated" }} {{ i18n "lastUpdatedDateFormat" .Lastmod }}{{ with .File }} · <a href='https://github.com/tootsuite/documentation/tree/master/content/{{ .Lang }}/{{ .Path }}' style="color: #687590;">{{ i18n "improvePage" }}{{ end }}</a>
  11. {{ if .IsTranslated }}
  12. <br />
  13. {{ i18n "otherTranslations" }}
  14. {{ range .Translations }}
  15. <a href="{{ .Permalink }}" style="color: #687590;" hreflang="{{ .Lang }}">{{ .Language.LanguageName }}</a>
  16. {{ end }}
  17. {{ end }}
  18. </p>
  19. </div>
  20. {{ end }}