From 5e8841e650fb3aeb23066d6877158b70d5bef316 Mon Sep 17 00:00:00 2001
From: Christian Mendoza <christian.mendoza@gmail.com>
Date: Wed, 20 Dec 2017 18:39:24 +0000
Subject: [PATCH] Add image and video to config
---
layouts/index.html | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/layouts/index.html b/layouts/index.html
index 0ebc588..c9bf053 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -9,10 +9,19 @@
<div class="fs-split">
- <!-- Image Side -->
- <div class="split-image">
+ <!-- Image -->
+ {{ if .Site.Params.split.image.enable }}
+
+ <div class="split-image">
- </div>
+ </div>
+
+ <!-- Video -->
+ {{ else if .Site.Params.split.video.enable }}
+
+ {{ partial "video" . }}
+
+ {{ end }}
<!-- Content Side -->
<div class="split-content">
--
Gitblit v1.10.0