cupper-hugo-theme/themes/inclusive-pattern-docs/layouts/shortcodes/patternLink.html
2017-06-20 16:53:54 +08:00

12 lines
325 B
HTML

{{ $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 }}