documentation/layouts/shortcodes/page-ref.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 -}}