blob: ad851f504f9470fd66ba6a2e7fe1cd5f9e4317d0 (
plain)
1
2
3
4
5
6
7
8
|
{{ 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 }}
|