5 lines
173 B
HTML
5 lines
173 B
HTML
{{$file := .Get "file"}}
|
|
{{ $contents := (printf "/snippets/%s" $file) | readFile }}
|
|
{{ $commented := add "<!-- snippet -->\r\n" $contents }}
|
|
{{ $commented | markdownify }}
|