From 0ec7454f43024081bf94ce0f5e5710061adfe59d Mon Sep 17 00:00:00 2001 From: Jason Irish Date: Fri, 15 Sep 2023 16:22:47 -0500 Subject: [PATCH] FEATURE migrate PageHeaderImage.ss --- templates/Includes/PageHeaderImage.ss | 52 +++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 templates/Includes/PageHeaderImage.ss diff --git a/templates/Includes/PageHeaderImage.ss b/templates/Includes/PageHeaderImage.ss new file mode 100644 index 0000000..b2d60e5 --- /dev/null +++ b/templates/Includes/PageHeaderImage.ss @@ -0,0 +1,52 @@ +<% if $PageHeaderImage %> +
+ <% with $PageHeaderImage %> + $Image.Title + <% end_with %> + + <% with $PageHeaderImage %> + <% if $Title || $Content || $Top.Content || $HeaderLink %> +
+
+

<% if Title %>$Title<% else %>$Top.Title<% end_if %>

+ <% if $Content || $Top.Content %> +
<% if $Content %>$Content<% else_if $Top.Content %>$Top.Content<% end_if %>
+ <% else %> +
+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet. Proin gravida dolor sit amet lacus accumsan et viverra justo commodo. Proin sodales pulvinar sic tempor. Sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nam fermentum, nulla luctus pharetra vulputate, felis tellus mollis orci, sed rhoncus pronin sapien nunc accuan eget.

+
+ <% end_if %> + <% if $HeaderLink %>

<% if $HeaderLink.Title %>$HeaderLink.Title<% else %>Learn More<% end_if %>

<% end_if %> +
+
+ <% end_if %> + <% end_with %> +
+
+<% else_if $SlideShow %> +
+ +
+<% end_if %>