Home.html 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <f:comment><!-- base layout for a page, with header, carousel, navbar, breadcrumb and footer --></f:comment>
  2. <f:layout name="Home" />
  3. <f:comment><!-- Render the header defined in partial/header.html--></f:comment>
  4. <f:render partial="Classic/Header" arguments="{_all}" />
  5. <div class="main">
  6. <f:comment><!-- Left column --></f:comment>
  7. <div class="leftcol">
  8. <f:comment><!-- Render the next events section defined in partial/NextEvents.html--></f:comment>
  9. <f:render partial="Classic/NextEvents" arguments="{settings: settings}"/>
  10. <f:if condition="{settings.organizationIsNetwork}==0">
  11. <f:render partial="Classic/NextEvents" arguments="{settings: settings, fromParents: 1}"/>
  12. </f:if>
  13. <f:if condition="{settings.organizationIsNetwork}==1">
  14. <f:render partial="Classic/NextEvents" arguments="{settings: settings, fromChildren: 1}"/>
  15. </f:if>
  16. <div class="content">
  17. <f:comment><!-- render the content of the leftcol section (left column) --></f:comment>
  18. <f:render section="Leftcol" />
  19. </div>
  20. </div>
  21. <f:comment><!-- Central column --></f:comment>
  22. <div class="centralcol">
  23. <div class="content">
  24. <f:comment><!-- render the content of the content section (middle column) --></f:comment>
  25. <f:render section="Content" />
  26. </div>
  27. </div>
  28. <f:comment><!-- Right column --></f:comment>
  29. <div class="rightcol">
  30. <f:comment><!-- Render the last news section defined in partial/LastNews.html--></f:comment>
  31. <f:render partial="Classic/LatestNews" />
  32. <f:comment><!-- Render the donors section defined in partial/Donors.html--></f:comment>
  33. <f:render partial="Classic/Donors" arguments="{settings: settings}" />
  34. <f:render partial="Classic/Donors" arguments="{settings: settings, fromParents: 1}"/>
  35. <div class="content">
  36. <f:comment><!-- defines the content of the rightcol section (right column) --></f:comment>
  37. <f:render section="Rightcol" />
  38. </div>
  39. </div>
  40. </div> <!-- /container -->
  41. <f:comment><!-- Render the footer defined in partial/footer.html--></f:comment>
  42. <f:render partial="Classic/Footer" />