Skip to content

Commit

Permalink
remove extra grid divs, which are not needed without the filter column
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-meyer committed Aug 15, 2024
1 parent 1a28fa4 commit 02b8dce
Showing 1 changed file with 11 additions and 19 deletions.
30 changes: 11 additions & 19 deletions layouts/guides/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,17 @@

<h1>GSA Tech Guides</h1>

{{ .Content }}

<div class="grid-row grid-gap">

<div class="tablet:grid-col-9">
{{ range .Pages.GroupByParam "category" }}
<div class="guides-category" data-category="{{ .Key | urlize }}">
<h2 class="guides-category-heading">{{ .Key }} Guides</h2>
<ul>
{{ range .Pages }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
</div>
{{ end }}
</div>

</div>

{{ .Content }}
{{ range .Pages.GroupByParam "category" }}
<div class="guides-category" data-category="{{ .Key | urlize }}">
<h2 class="guides-category-heading">{{ .Key }} Guides</h2>
<ul>
{{ range .Pages }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
</div>
{{ end }}
</div>

{{ end }}

0 comments on commit 02b8dce

Please sign in to comment.