Skip to content
Snippets Groups Projects
Commit 4d2115b5 authored by Olivia206's avatar Olivia206
Browse files

added rel to external links in block links

parent a0601112
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@
{{- $url := .url -}}
{{- $isExternal := .external | default true -}}
<link itemprop="url" href="{{ .url }}">
<a itemprop="relatedLink" href="{{ .url }}" title="{{ $title }}" {{ if $isExternal -}} target="_blank" {{- end }}><span itemprop="name">{{- $title -}}</span></a>
<a itemprop="relatedLink" href="{{ .url }}" title="{{ $title }}" {{ if $isExternal -}} target="_blank" rel="noopener" {{- end }}><span itemprop="name">{{- $title -}}</span></a>
<p>{{ .description | safeHTML }}</p>
</div>
{{- if .image -}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment