Files
rancher-docs/layouts/shortcodes/include.html
Bastian Hofmann e610bc8ef2 Move cluster-capabilities-table to a headless bundle and include it as a page instead of reading the file
This prevents the table to automatically be included on pages of other bundles.
By including the page instead of reading the file also the shortcodes in the table are expanded correctly.

This fixes broken links in the table.

Fixes https://github.com/rancher/docs/issues/2577

Signed-off-by: Bastian Hofmann <bashofmann@gmail.com>
2020-07-08 11:15:08 -07:00

6 lines
102 B
HTML

{{$file := .Get "file"}}
{{- with .Site.GetPage $file -}}
{{- .Content | markdownify -}}
{{- end -}}