2
1
Fork 0
quickshell-docs/layouts/shortcodes/qmlmodule.html
2024-06-17 18:37:30 -07:00

16 lines
526 B
HTML

{{- $modulename := .Get "module" -}}
{{- $module := index .Site.Data.modules $modulename -}}
{{- $module.index.description | $.Page.RenderString (dict "display" "block") -}}
<h3>Types</h3>
<table>
{{- range $name, $type := $module -}}
{{- if ne $name "index" -}}
<tr>
<td><a href="/docs/types/{{ lower $modulename }}/{{ lower $name }}">{{ $name }}</a></td>
<td>{{ $type.description }}</td>
</tr>
{{- end -}}
{{- end -}}
</table>
{{- $module.index.details | $.Page.RenderString (dict "display" "block") -}}