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

37 lines
670 B
HTML
Raw Normal View History

2022-10-12 21:38:50 +03:00
{{ define "main" }}
<section>
<div class="container">
<div class="row">
<div class="col">
<div class="package-thumbnail gray-bg">
</div>
</div>
<div class="col">
<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>
</section>
{{- partial "clipboard-copy.html" -}}
2022-10-12 21:38:50 +03:00
<style>
.package-thumbnail{
width: 100%;
height: 100%;
background-color: gray;
}
</style>
{{ end }}