site: add clusters and modules

Re-organize content and navigation around the concept of clusters
and modules. Elements that have suggested field names are displayed
prominently near the top of each cluster.

I am still exploring how to present the clusters and modules better.
Perhaps as a badge on each element?
This commit is contained in:
2021-11-26 12:00:51 +02:00
parent 4827b2b0d4
commit 10f24ad093
2 changed files with 74 additions and 11 deletions

View File

@ -3,7 +3,7 @@
<thead>
<tr class="table-secondary">
<th colspan="2">
{{- .Params.title | markdownify -}}
<span class="">{{ .Params.title | markdownify }}</span>
{{- with .Params.required -}}
<div class="badge-required">
<span class="badge bg-primary align-middle">Required</span>
@ -17,6 +17,10 @@
<td class="col-2 field-name">Label</td>
<td>{{ .Name | markdownify }}</td>
</tr>
<tr>
<td class="col-2 field-name">Module</td>
<td>{{ .Params.module | markdownify }}</td>
</tr>
{{ with .Params.description }}
<tr>
<td class="col-2 field-name">Definition</td>