mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-06-15 04:52:55 -04:00
🐛 Fix incorrect path to partials directory
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ $partial := print "home/" .Site.Params.homepage.layout ".html" }}
|
{{ $partial := print "home/" .Site.Params.homepage.layout ".html" }}
|
||||||
{{ if templates.Exists ( printf "partials/%s" $partial) }}
|
{{ if templates.Exists ( printf "_partials/%s" $partial) }}
|
||||||
{{ partial $partial . }}
|
{{ partial $partial . }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ partial "home/page.html" . }}
|
{{ partial "home/page.html" . }}
|
||||||
|
|||||||
Reference in New Issue
Block a user