2
1
Fork 0
quickshell-docs/layouts/shortcodes/qmlmodule.html

16 lines
526 B
HTML
Raw Normal View History

2024-02-12 12:07:01 +00:00
{{- $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>
2024-06-18 01:37:30 +00:00
{{- $module.index.details | $.Page.RenderString (dict "display" "block") -}}