www/src/layouts/page/package-detail.html

57 lines
1.4 KiB
HTML
Raw Normal View History

2022-10-12 21:38:50 +03:00
{{ define "main" }}
<section class="one-box">
<div class="container">
2022-10-12 21:38:50 +03:00
<div class="row">
2022-10-20 00:51:08 +03:00
<div class="col-xl-4 col-lg-4 col-md-6 col-sm-12 col-12">
2022-10-29 06:17:19 +03:00
<div class="package-thumbnail">
{{ range where $.Site.Data.packages "name" .Title }}
<img class="package-image" src="{{- .thumb_image_url -}}" alt="{{- .name -}}" style="width:100%; height:100%;">
{{ end }}
2022-10-12 21:38:50 +03:00
</div>
</div>
2022-10-20 00:51:08 +03:00
<div class="col-xl-8 col-lg-8 col-md-6 col-sm-12 col-12">
<h3>{{- .Title -}}</h3>
{{ range where $.Site.Data.packages "name" .Title }}
<p>{{- .desc -}}</p>
{{ if not (eq .homepage "") }}
{{- partial "detail-btn-large.html" .homepage -}}
2022-10-17 21:32:50 +03:00
{{end}}
{{ end }}
2022-10-12 21:38:50 +03:00
</div>
</div>
</div>
2022-10-12 21:38:50 +03:00
</section>
<!-- Copy to clipboard field -->
2022-10-27 15:09:36 +03:00
<section>
<div class="container">
<div class="row">
<div class="col grid-gray">
Copy the tea one-liner below into your terminal to install {{- .Title -}}. tea will interpret the documentation and take care of any dependencies.
</div>
</div>
</div>
</section>
{{- partial "clipboard-copy.html" -}}
2022-10-17 21:36:13 +03:00
<script type="text/javascript">
2022-11-01 21:00:22 +03:00
document.getElementById("shortcodeCopy").value = "sh <(curl tea.xyz) &#43;{{- .maintainer -}}&#47;{{- .Title -}}";
2022-10-17 21:36:13 +03:00
</script>
2022-10-12 21:38:50 +03:00
<style>
.package-thumbnail{
width: 100%;
height: 100%;
background-color: gray;
}
</style>
{{ end }}