mirror of
https://github.com/ivabus/www
synced 2024-11-23 02:05: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>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
{{ range where $.Site.Data.packages "name" .Title }}
|
||||||
{{- partial "clipboard-copy.html" -}}
|
{{- partial "clipboard-copy.html" -}}
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
document.getElementById("shortcodeCopy").value = "sh <(curl tea.xyz) +{{- .full_name -}}";
|
||||||
document.getElementById("shortcodeCopy").value = "sh <(curl tea.xyz) +{{- .Params.maintainer -}}/{{- .Title -}}";
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue