refactor the member page internally

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
remotes/1720744104865095624/master
Toshaan Bharvani 3 years ago
parent 51ad806588
commit 8d969a3940

@ -3,10 +3,11 @@
{{ partial "navbar.html" . }}

<main id="main" class="main members">
<div class="container">
<div class="container">
<section id="intro">
<div class="row">
<h1 class="section-header my-3 my-md-5 pb-2 pb-md-3 text-center">{{ .Title }}</h1>
</div>
</section>
<div class="row">
{{ $i := 0 }}
@ -26,7 +27,7 @@
{{ if eq $level $key }}
<div class="col-lg-4 pt-5 pb-0 pb-lg-3">
<div class="box">
<a target="_blank" href="{{ .Param "link" }}">
<a href="{{ .Permalink }}">
{{ if .Param "image" }}
{{ $imagename := .Param "image" }}
{{ $imagelocation := (printf "%s/%s" "images/members/" $imagename) }}
@ -41,9 +42,12 @@
</div>
{{ end }}
{{ end }}

</div>
</div>
</div>
{{ end }}

</div>
</div>
</main>

{{ partial "footer.html" . }}

Loading…
Cancel
Save