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

21 lines
632 B
HTML
Raw Normal View History

2024-02-12 12:07:01 +00:00
{{- $modulename := .Get "module" -}}
{{- $module := index .Site.Data.modules $modulename -}}
2024-07-15 02:51:02 +00:00
<h1>{{ $modulename }}<span class="qmlprops typegray" style="font-weight: normal">[module]</span></h1>
2024-02-12 12:07:01 +00:00
{{- $module.index.description | $.Page.RenderString (dict "display" "block") -}}
2024-07-15 02:51:02 +00:00
2024-02-12 12:07:01 +00:00
<h3>Types</h3>
2024-07-15 02:51:02 +00:00
2024-02-12 12:07:01 +00:00
<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") -}}