chore: move cli data files to data subdir

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson
2026-02-22 10:10:21 +01:00
parent 70d0c07c69
commit 4899ea2cf1
373 changed files with 41 additions and 49 deletions

View File

@@ -1,5 +1,5 @@
{{ define "article" }}
{{ $data := index (index site.Data .Params.datafolder) .Params.datafile }}
{{ $data := index site.Data.cli .Params.datafolder .Params.datafile }}
{{ .Store.Set "headings" slice }}
{{ .Store.Set "subheadings" slice }}
@@ -185,7 +185,7 @@ can be removed entirely in a future release.
{{- if and .Params.datafolder .Params.datafile }}
<tr>
<td class="text-left"><a class="link" href="{{ .Permalink }}"><code>{{ .Title }}</code></a></th>
{{ $data := index (index site.Data .Params.datafolder) .Params.datafile }}
{{ $data := index site.Data.cli .Params.datafolder .Params.datafile }}
<td class="text-left">{{ $data.short }}</th>
</tr>
{{- end }}