We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2254d55 commit 2dfa30fCopy full SHA for 2dfa30f
layouts/shortcodes/download.html
@@ -12,7 +12,7 @@
12
13
{{ if .Get 1 }}
14
{{ $linktext := .Get 1 | markdownify }}
15
- <a href="{{$ref}}" download="$linktext">{{$linktext}}</a>
+ <a href="{{$ref}}" download="{{$linktext}}">{{$linktext}}</a>
16
17
{{/* Otherwise, just get the path to the file to be downloaded. This will be run through the markdown processor
18
and used as the filename. */}}
0 commit comments