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

* Fix URLs to work when `baseURL` is in a sub-directory * Use `RelPermalink` to not have assets loaded from `baseUrl` * Add `.vercel` to gitignore * Remove deploy Github Action, we are now using Vercel
8 lines
213 B
HTML
8 lines
213 B
HTML
{{- $page := .Site.GetPage (.Get "page") -}}
|
|
{{- with $page -}}
|
|
<a href="{{ .RelPermalink }}" class="page-ref">
|
|
<div class="page-ref-icon"><i class="fa fa-arrow-right"></i></div>
|
|
{{ .Title }}
|
|
</a>
|
|
{{- end -}}
|