add tella theme
This commit is contained in:
13
themes/tella/layouts/products/list.html
Normal file
13
themes/tella/layouts/products/list.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{{ define "main" }}
|
||||
<div class="mx-auto my-10 max-w-6xl">
|
||||
<div class="mx-3 col-span-3 lg:col-span-2 px-2">
|
||||
<h1 class="title text-5xl mb-4">{{.Title}}</h1>
|
||||
<div class="content py-1">{{.Content}}</div>
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 mb-2 gap-2">
|
||||
{{ range .Pages.ByWeight }}
|
||||
{{ .Render "summary" }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
8
themes/tella/layouts/products/summary.html
Normal file
8
themes/tella/layouts/products/summary.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<a href="{{ .Permalink }}">
|
||||
<div class="summary border p-3">
|
||||
<h2 class="text-3xl">
|
||||
{{ .Title }}
|
||||
</h2>
|
||||
<p>{{ .Description }}</p>
|
||||
</div>
|
||||
</a>
|
||||
Reference in New Issue
Block a user