From 0acdcd0fd56fe730c5e82cc3f1068658bae477a1 Mon Sep 17 00:00:00 2001 From: Tony Air Date: Sun, 8 Sep 2019 06:36:32 +0700 Subject: [PATCH] Slider template improvement --- app/templates/Site/Elements/SliderElement.ss | 61 +++++++++++--------- 1 file changed, 33 insertions(+), 28 deletions(-) diff --git a/app/templates/Site/Elements/SliderElement.ss b/app/templates/Site/Elements/SliderElement.ss index 4033adc..0adc365 100644 --- a/app/templates/Site/Elements/SliderElement.ss +++ b/app/templates/Site/Elements/SliderElement.ss @@ -1,19 +1,19 @@ <% if $ShowTitle || $Content %> -
- <% if $ShowTitle %> -

$Title

- <% end_if %> - <% if $Content %> -
$Content
- <% end_if %> +
+
+ <% if $ShowTitle %> +

$Title

+ <% end_if %> + <% if $Content %>
$Content
<% end_if %> +
<% end_if %> <% if $SlideShow %> -