mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
chore: move cli data files to data subdir
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user