|
| 1 | +<div class="row justify-content-center text-center"> |
| 2 | + <% if ShowTitle || Content %> |
| 3 | + <div class="col-12 col-md-10 col-lg-8 mb-4"> |
| 4 | + <% if ShowTitle %> |
| 5 | + <h2 class="mb-4">$Title</h2> |
| 6 | + <% end_if %> |
| 7 | + <% if $Content %> |
| 8 | + <p>$Content</p> |
| 9 | + <% end_if %> |
| 10 | + </div> |
| 11 | + <% end_if %> |
| 12 | + <div class="w-100"></div> |
1 | 13 |
|
2 | | -<div class="py-5 container text-center"> |
3 | | - <div class="row justify-content-center"> |
4 | | - <% if ShowTitle || Content %> |
5 | | - <div class="col-12 col-md-10 col-lg-8 mb-4"> |
6 | | - <% if ShowTitle %> |
7 | | - <h2 class="mb-4">$Title</h2> |
8 | | - <% end_if %> |
9 | | - <% if $Content %> |
10 | | - <p>$Content</p> |
11 | | - <% end_if %> |
12 | | - </div> |
13 | | - <% end_if %> |
14 | | - <div class="w-100"></div> |
15 | | - |
16 | | - <div class="col-12"> |
17 | | - <ul class="list-group shadow"> |
18 | | - <% loop ListgroupItems %> |
19 | | - <li class="list-group-item text-left text-dark"> |
20 | | - <div class="row align-items-center"> |
21 | | - <% if Image %> |
22 | | - <div class="col-12 col-md-4 col-lg-3 mb-3 mb-md-0"> |
23 | | - <img src="$Image.Fit(600,600).URL" alt="$Title" class="img-fluid rounded"> |
24 | | - </div> |
25 | | - <% end_if %> |
26 | | - <div class="col"> |
27 | | - <% if ShowTitle %> |
28 | | - <h3>$Title</h3> |
29 | | - <% end_if %> |
30 | | - $Content |
31 | | - <% if CTALink %> |
32 | | - <% with CTALink %> |
33 | | - <a {$IDAttr} class="mx-1 text-$Up.LinkColor" href="{$LinkURL}"{$TargetAttr}> |
34 | | - {$Title} |
35 | | - </a> |
36 | | - <% end_with %> |
37 | | - <% end_if %> |
| 14 | + <div class="col-12"> |
| 15 | + <ul class="list-group shadow"> |
| 16 | + <% loop ListgroupItems %> |
| 17 | + <li class="list-group-item text-left text-dark"> |
| 18 | + <div class="row align-items-center"> |
| 19 | + <% if Image %> |
| 20 | + <div class="col-12 col-md-4 col-lg-3 mb-3 mb-md-0"> |
| 21 | + <img src="$Image.Fit(600,600).URL" alt="$Title" class="img-fluid rounded"> |
38 | 22 | </div> |
| 23 | + <% end_if %> |
| 24 | + <div class="col"> |
| 25 | + <% if ShowTitle %> |
| 26 | + <h3>$Title</h3> |
| 27 | + <% end_if %> |
| 28 | + $Content |
| 29 | + <% if CTALink %> |
| 30 | + <% with CTALink %> |
| 31 | + <a {$IDAttr} class="mx-1 text-$Up.LinkColor" href="{$LinkURL}"{$TargetAttr}> |
| 32 | + {$Title} |
| 33 | + </a> |
| 34 | + <% end_with %> |
| 35 | + <% end_if %> |
39 | 36 | </div> |
40 | | - </li> |
41 | | - <% end_loop %> |
42 | | - </ul> |
43 | | - </div> |
| 37 | + </div> |
| 38 | + </li> |
| 39 | + <% end_loop %> |
| 40 | + </ul> |
44 | 41 | </div> |
45 | 42 | </div> |
0 commit comments