Skip to content

Commit

Permalink
Merge pull request #113 from nswdpc/fix-remove-sidebar-desktop
Browse files Browse the repository at this point in the history
Fix remove sidebar desktop
  • Loading branch information
tardinha authored Jul 24, 2024
2 parents b548052 + 2b6d9cf commit cfabaf2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
13 changes: 4 additions & 9 deletions themes/nswds/templates/NSWDPC/Waratah/Includes/LastUpdated.ss
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
<% if $PageLastUpdated %>
<section class="nsw-section">
<% if $Top.IsLandingPage %>
<div class="nsw-container">
<% end_if %>
<div class="nsw-container">
<section class="nsw-section">

<% with $PageLastUpdated %>
<p><strong><%t nswds.PAGE_LAST_UPDATE 'Last updated' %>:</strong> <time datetime="{$Machine}">{$Human}</time></p>
<% end_with %>

<% if $Top.IsLandingPage %>
</div>
<% end_if %>

</section>
</section>
</div>
<% end_if %>
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,3 @@
<% end_if %>

<% include NSWDPC/Waratah/PageForm %>
<% include NSWDPC/Waratah/LastUpdated %>
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<main id="main-content" class="nsw-layout__main">
<% include NSWDPC/Waratah/PageContent PerLayoutContentTemplate=$PerLayoutContentTemplate, PerLayoutContentAboveElemental=$PerLayoutContentAboveElemental %>
</main>
<aside class="nsw-layout__sidebar nsw-layout__sidebar--desktop">
<aside class="nsw-layout__sidebar">
<% include NSWDPC/Waratah/Sidebar %>
</aside>
</div>
Expand Down Expand Up @@ -48,3 +48,5 @@
</div>

<% end_if %>

<% include NSWDPC/Waratah/LastUpdated %>

0 comments on commit cfabaf2

Please sign in to comment.