Skip to content

Commit 148f035

Browse files
feat(website): render VRL examples' input (#24726)
1 parent 75c1c62 commit 148f035

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

website/layouts/partials/data.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1783,6 +1783,16 @@ <h3 id="{{ $code }}">
17831783
</span>
17841784

17851785
<div class="flex flex-col space-y-2">
1786+
{{ with .ctx.input }}
1787+
<div>
1788+
<span class="font-light"> Input </span>
1789+
1790+
<div class="text-sm">
1791+
{{ template "code" .log }}
1792+
</div>
1793+
</div>
1794+
{{ end }}
1795+
17861796
<div>
17871797
<span class="font-light"> Source </span>
17881798

@@ -2196,4 +2206,4 @@ <h3 id="{{ $code }}">
21962206
</div>
21972207
</div>
21982208
</div>
2199-
{{ end }}
2209+
{{ end }}

0 commit comments

Comments
 (0)