mirror of
https://github.com/ivabus/www
synced 2024-11-22 14:45:05 +03:00
fix: copy package fullname if maintainer exists
This commit is contained in:
parent
e5aa14b22c
commit
7936c8850d
1 changed files with 6 additions and 4 deletions
|
@ -35,13 +35,15 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
{{- partial "clipboard-copy.html" -}}
|
||||
{{ range where $.Site.Data.packages "name" .Title }}
|
||||
{{- partial "clipboard-copy.html" -}}
|
||||
|
||||
<script type="text/javascript">
|
||||
<script type="text/javascript">
|
||||
document.getElementById("shortcodeCopy").value = "sh <(curl tea.xyz) +{{- .full_name -}}";
|
||||
</script>
|
||||
{{ end }}
|
||||
|
||||
document.getElementById("shortcodeCopy").value = "sh <(curl tea.xyz) +{{- .Params.maintainer -}}/{{- .Title -}}";
|
||||
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
|
|
Loading…
Reference in a new issue