cupper-hugo-theme/themes/infusion/layouts/shortcodes/pattern.html
2017-08-03 12:16:24 +01:00

2 lines
275 B
HTML

{{ $title := .Get 0 }}{{ range .Site.Pages }}{{ if eq .Title $title }}<a class="pattern-link" href="{{ .Permalink }}"><svg class="bookmark" aria-hidden="true" viewBox="0 0 40 50" focusable="false"> <use xlink:href="#bookmark"></use> </svg>{{ .Title }}</a>{{ end }}{{ end -}}