Add services list from data template

This commit is contained in:
2022-06-01 17:09:17 +02:00
parent 6be29ea741
commit f0f7bfd190
9 changed files with 137 additions and 29 deletions

View File

@@ -0,0 +1,13 @@
{{ range site.Data.services.community }}
<h3 class="mb-4 text-sm uppercase text-zinc-500">{{ .category }}</h3>
<ul class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6 mb-8">
{{ range .items }}
<li>
<h4 class="text-lg font-bold mb-2">
<a href="{{ .url }}" class="border-b border-zinc-400">{{ .name }}</a>
</h4>
<p>{{ .description }}</p>
</li>
{{ end }}
</ul>
{{ end }}