9 lines
250 B
HTML
9 lines
250 B
HTML
{{ define "main" }}
|
|
{{ $partial := print "partials/home/" .Site.Params.homepage.layout ".html" }}
|
|
{{ if templates.Exists $partial }}
|
|
{{ partial $partial . }}
|
|
{{ else }}
|
|
{{ partial "partials/home/profile.html" . }}
|
|
{{ end }}
|
|
{{ end }}
|