Skip to content

Commit

Permalink
Added link for partners in the homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
cyyber committed Apr 16, 2023
1 parent 257cf9e commit 0086742
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions layouts/index.html
Expand Up @@ -222,14 +222,16 @@ <h2>Subscribe for updates</h2>
<h2 class="section-title-header"> <a href="/partners" class="read-more-button">See All Partners</a></h2>
<div class="grid grid-three-cols">
{{ range first 9 (where (where .Site.Pages "Params.layout" "partner") ".Params.inactive" "!=" true)}}
<div class="core__el">
<div class="core__el__img">
<img src='{{ .Param "profile" }}' alt='{{ .Param "name" }}' />
</div>
<div class="core__el__inner"> {{ .Param "name" }}<br>
<p>{{ .Param "position" }}</p>
<a href='{{ .Param "website" }}' target="_blank">
<div class="core__el">
<div class="core__el__img">
<img src='{{ .Param "profile" }}' alt='{{ .Param "name" }}' />
</div>
<div class="core__el__inner"> {{ .Param "name" }}<br>
<p>{{ .Param "position" }}</p>
</div>
</div>
</div>
</a>
{{end}}
</div>
<div class="read-more-button__block">
Expand Down

0 comments on commit 0086742

Please sign in to comment.