Add services list from data template
This commit is contained in:
13
themes/kosmos-22/layouts/partials/services/community.html
Normal file
13
themes/kosmos-22/layouts/partials/services/community.html
Normal 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 }}
|
||||
Reference in New Issue
Block a user