diff --git a/layouts/partials/init/index.html b/layouts/partials/init/index.html index f641887d..720f0ea7 100644 --- a/layouts/partials/init/index.html +++ b/layouts/partials/init/index.html @@ -1,4 +1,4 @@ -{{- .Scratch.Set "version" "v0.3.20-c21914dd" -}} +{{- .Scratch.Set "version" "v0.3.20-b45ab833" -}} {{- .Scratch.Set "this" dict -}} {{- partial "init/detection-env.html" . -}} diff --git a/layouts/partials/single/footer.html b/layouts/partials/single/footer.html index 0046a106..df5d939e 100644 --- a/layouts/partials/single/footer.html +++ b/layouts/partials/single/footer.html @@ -74,7 +74,7 @@ {{- $options := dict "Class" "link-to-report" "Destination" $link "Title" (T "single.reportIssue") "Content" (T "single.reportIssue") -}} {{- $linkOptions = $linkOptions | append $options -}} {{- end -}} - {{- if $params.LinkToVscode | and hugo.IsServer -}} + {{- if $params.LinkToVscode | and hugo.IsServer | and (not $.File.IsContentAdapter) -}} {{- $link := printf "vscode://file/%v" $.File.Filename -}} {{- $options := dict "Class" "link-to-vscode" "Destination" $link "Title" (T "single.openInEditor") "Content" (T "single.openInEditor") -}} {{- $linkOptions = $linkOptions | append $options -}}