cupper-hugo-theme/themes/infusion/layouts/shortcodes/pattern.html

2 lines
278 B
HTML
Raw Normal View History

2017-07-05 11:30:01 +02:00
{{ $title := .Get 0 }}{{ range .Site.Pages }}{{ if eq .Title $title }}<a class="pattern-link" href="{{ .Permalink }}"><svg class="bookmark" aria-hidden="true" height="50" width="40" viewBox="0 0 40 50"><use xlink:href="#bookmark"></use></svg>{{ .Title }}</a>{{ end }}{{ end -}}