mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00

* 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
8 lines
366 B
HTML
8 lines
366 B
HTML
{{- $page := .Site.GetPage (.Get "page") -}}
|
|
{{- with $page -}}
|
|
<a href="{{ .RelPermalink }}" class="page-ref">
|
|
<div class="page-ref-icon"><svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="currentColor" d="M4 11v2h12l-5.5 5.5l1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5L16 11z"/></svg></div>
|
|
{{ .Title }}
|
|
</a>
|
|
{{- end -}}
|