2022-10-12 21:38:50 +03:00
|
|
|
{{ define "main" }}
|
|
|
|
|
2022-11-01 18:34:16 +03:00
|
|
|
<section class="one-box">
|
2022-10-27 05:26:54 +03:00
|
|
|
<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">
|
2022-10-14 04:46:45 +03:00
|
|
|
<h3>{{- .Title -}}</h3>
|
|
|
|
{{ range where $.Site.Data.packages "name" .Title }}
|
2022-12-06 02:06:11 +03:00
|
|
|
<p class="one-box-down">{{- .desc -}}</p>
|
2022-12-07 08:25:42 +03:00
|
|
|
{{ if not (eq .package_yml_url "#")}}
|
|
|
|
<a target="_blank" href="{{- .package_yml_url -}}">
|
|
|
|
<button class="detail-btn-large me-3" id="purple-bg-btn"><i class="icon-enter-arrow"></i>View on GitHub</button>
|
|
|
|
</a>
|
|
|
|
{{end}}
|
2022-10-14 04:46:45 +03:00
|
|
|
{{ if not (eq .homepage "") }}
|
2022-12-07 08:25:42 +03:00
|
|
|
<a target="_blank" href="{{- .homepage -}}">
|
|
|
|
<button class="detail-btn-large" id="standard-detail-btn"><i class="icon-enter-arrow"></i>Visit package home</button>
|
|
|
|
</a>
|
2022-10-17 21:32:50 +03:00
|
|
|
{{end}}
|
|
|
|
{{ end }}
|
2022-10-12 21:38:50 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-10-27 05:26:26 +03:00
|
|
|
</div>
|
2022-10-12 21:38:50 +03:00
|
|
|
</section>
|
|
|
|
|
2022-10-20 00:17:47 +03:00
|
|
|
<!-- Copy to clipboard field -->
|
2022-10-19 03:05:14 +03:00
|
|
|
|
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>
|
|
|
|
|
2022-11-02 02:58:08 +03:00
|
|
|
{{ range where $.Site.Data.packages "name" .Title }}
|
2022-11-30 15:32:45 +03:00
|
|
|
{{- partial "clipboard-copy-package-detail.html" . -}}
|
2022-10-17 21:36:13 +03:00
|
|
|
|
2022-11-02 02:58:08 +03:00
|
|
|
{{ end }}
|
2022-10-19 03:05:14 +03:00
|
|
|
|
|
|
|
|
2022-10-12 21:38:50 +03:00
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
.package-thumbnail{
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: gray;
|
|
|
|
}
|
|
|
|
|
2022-12-06 02:06:11 +03:00
|
|
|
a:hover{
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#purple-bg-btn{
|
|
|
|
background-color: #8000FF;
|
|
|
|
border: 2px solid #8000FF;
|
|
|
|
}
|
|
|
|
|
|
|
|
#standard-detail-btn:hover{
|
|
|
|
background-color: #212020 !important;
|
|
|
|
box-shadow: inset 0vw 0vw 0vw 0.335vw #1a1a1a !important;
|
|
|
|
}
|
|
|
|
|
2022-10-12 21:38:50 +03:00
|
|
|
</style>
|
|
|
|
|
|
|
|
{{ end }}
|