Skip to content

Commit 2dfa30f

Browse files
authored
Update layouts/shortcodes/download.html
1 parent 2254d55 commit 2dfa30f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/shortcodes/download.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
{{ if .Get 1 }}
1414
{{ $linktext := .Get 1 | markdownify }}
15-
<a href="{{$ref}}" download="$linktext">{{$linktext}}</a>
15+
<a href="{{$ref}}" download="{{$linktext}}">{{$linktext}}</a>
1616

1717
{{/* Otherwise, just get the path to the file to be downloaded. This will be run through the markdown processor
1818
and used as the filename. */}}

0 commit comments

Comments
 (0)