You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
418 B
HTML

{{ $href := .href }}
{{ $path := false }}
{{ if eq $href (urls.Parse $href).Path }}
{{ $path = true }}
{{ with resources.Get (relLangURL $href) }}
{{ $href = (. | minify | fingerprint).RelPermalink }}
{{ else }}
{{ $href = relLangURL $href }}
{{ end }}
{{ end }}
<link{{ if not $path }} crossorigin="anonymous"{{ end }} href="{{ $href }}" integrity="{{ .integrity }}" rel="stylesheet">