Skip to content

Commit

Permalink
2023-12-09 20:01:31
Browse files Browse the repository at this point in the history
  • Loading branch information
uidHUB committed Dec 9, 2023
1 parent 234b97d commit 8edb6c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/_markup/render-link.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

{{- if (strings.HasPrefix (.Destination) "http") -}}
{{- $target = "_blank" -}}
{{- $rel = "noopener noreferrer nofollow" -}}
{{- $rel = "noopener noreferrer" -}}
{{- $files := (slice ".doc" ".docx" ".xls" ".xlsx" ".ppt" ".pptx" ".odt" ".ods" ".odp") -}}
{{- range ($files) -}}
{{- with (strings.HasSuffix ($href) .) -}}
Expand Down

0 comments on commit 8edb6c2

Please sign in to comment.