|
|
@ -17,7 +17,7 @@
|
|
|
|
{{ $name := .Params.name }}
|
|
|
|
{{ $name := .Params.name }}
|
|
|
|
{{ $withVersioning := .Params.withVersioning }}
|
|
|
|
{{ $withVersioning := .Params.withVersioning }}
|
|
|
|
|
|
|
|
|
|
|
|
{{ $page := .Site.GetPage (path.Join .Page.Dir "fragments" (printf "%s%s" $name ".md"))}}
|
|
|
|
{{ $page := .Site.GetPage (path.Join .Page.File.Dir "fragments" (printf "%s%s" $name ".md"))}}
|
|
|
|
{{ $content := $page.Content }}
|
|
|
|
{{ $content := $page.Content }}
|
|
|
|
{{ if not $withVersioning }}
|
|
|
|
{{ if not $withVersioning }}
|
|
|
|
{{ $content = (replace $content "[New in this version]" "") }}
|
|
|
|
{{ $content = (replace $content "[New in this version]" "") }}
|
|
|
|