mirror of
https://github.com/ivabus/www
synced 2024-11-26 04:25:07 +03:00
Merge pull request #160 from teaxyz/bugfix/cli-copy-pattern
fix: tea install code copy should include maintainer name if exists
This commit is contained in:
commit
4a2ebf9fbb
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