Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mattstratton/castanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/section/blog.html')
-rw-r--r--layouts/section/blog.html11
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 }}