Embed-Page

Embed-Page

layouts/shortcodes/embed-page.html
{{ $page := .Get "path" }}
{{ with .Site.GetPage $page }}
{{ .Content }}
{{ end }}

Usage

{{< embed-page path="_index" >}}