mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-05-28 07:35:45 +00:00
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>
This commit is contained in:
committed by
Catherine Luse
parent
863f4736d1
commit
6bea52ce63
@@ -0,0 +1,5 @@
|
||||
{{$file := .Get "file"}}
|
||||
|
||||
{{- with .Site.GetPage $file -}}
|
||||
{{- .Content | markdownify -}}
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user