mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
Instead of inserting the raw file contents, use the page object. Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
5 lines
174 B
HTML
5 lines
174 B
HTML
{{ $fileToInclude := .Get 0 }}
|
|
{{ with (site.GetPage (printf "includes/%s" $fileToInclude)) }}
|
|
{{ page.RenderString (dict "display" "block") .RenderShortcodes }}
|
|
{{ end }}
|