1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00
documentation/layouts/index.html
Michael Stanclift 1d43a44b22
Update color scheme to match latest design system (#1508)
* import variables from main UI

* apply colors

* change hint styles

* update table styling

* remove box shadow from images

* update sponsor and page ref styles

* change code highlighting theme to add more contrast

* replace link icon with google material svg

* replace fontawesome with google material icons

* remove fa assets

* fix missing mastodon fa icon in footer

* tweak alignment of hint svg icons

* tweak inline code background
2024-08-22 12:46:16 +01:00

29 lines
793 B
HTML

{{ define "title"}}{{ .Site.Title }}{{ end }}
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ with .Description }}
<p>{{.}}</p>
{{ end }}
<div class="e-content">
{{ .Content }}
<p style="color: #606085;">
{{ i18n "lastUpdated" }} {{ i18n "lastUpdatedDateFormat" .Lastmod }}{{ 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 }}