{{- $path := .Get 0 -}} {{- if not $path -}} {{- $path = .Get "src" -}} {{- end -}} {{- if $path -}} {{- partial "include.html" (dict "context" .Page "path" $path) -}} {{- else -}} {{- warnf "Shortcode 'include' called without path or src attribute." -}}

[Include Error: No path provided]

{{- end -}}