diff options
Diffstat (limited to 'layouts/section/blog.html')
-rw-r--r-- | layouts/section/blog.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/section/blog.html b/layouts/section/blog.html new file mode 100644 index 0000000..d114c3b --- /dev/null +++ b/layouts/section/blog.html @@ -0,0 +1,11 @@ +{{ define "main" }}
+ {{ if isset $.Site.Params "site_layout" }}
+ {{ if eq $.Site.Params.site_layout "grid" }}
+ {{- partial "grid-blog.html" . }}
+ {{ else }}
+ {{- partial "row-blog.html" . }}
+ {{ end }}
+ {{ else }}
+ {{- partial "row-blog.html" . }}
+ {{ end }}
+{{ end }}
|