#202 fix package install sh

This commit is contained in:
neil 2022-11-30 20:32:45 +08:00
parent 037bd8effe
commit 3aa0ca2342
2 changed files with 4 additions and 4 deletions

View file

@ -36,7 +36,7 @@
</section>
{{ range where $.Site.Data.packages "name" .Title }}
{{- partial "clipboard-copy-package-detail.html" -}}
{{- partial "clipboard-copy-package-detail.html" . -}}
{{ end }}

View file

@ -1,6 +1,6 @@
<hr>
<div class="row button-container" onclick="myFunction()" style="display:flex; justify-content:space-between;">
<input class="one-liner" type="text" value="sh <(curl tea.xyz)" id="shortcodeCopy" readonly>
<input class="one-liner" type="text" value="sh <(curl tea.xyz) +{{- .full_name -}}" id="shortcodeCopy" readonly>
<!-- The button used to copy the text -->