change the layout of the hub page

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
remotes/1694538624386119186/master
Toshaan Bharvani 3 years ago
parent 504545309c
commit d05ba23be4

@ -1,15 +1,11 @@
{{ partial "header.html" . }} {{ partial "header.html" . }}

{{ partial "navbar.html" . }} {{ partial "navbar.html" . }}

<main id="main"> <main id="main">

<section id="hubproviders"> <section id="hubproviders">
<div id="hubproviders"> <div id="hubproviders">
<div class="container"> <div class="container">
<div class="section-header mb-4"> <div class="section-header mb-4">
<h1 class="section-title text-center mb-4">{{ .Title }}</h1> <h1 class="section-title text-center">{{ .Title }}</h1>
<span class="section-divider"></span>
<div class="row"> <div class="row">
<div class="col-8 offset-2"> <div class="col-8 offset-2">
<span class="section-description">{{ .Content }}</span> <span class="section-description">{{ .Content }}</span>
@ -22,7 +18,7 @@
<div class="col-2"></div> <div class="col-2"></div>
{{ range .Data.Pages }} {{ range .Data.Pages }}
<div id="hubprovider" class="col-lg-2 text-center"> <div id="hubprovider" class="col-lg-2 text-center">
<a class="btn btn-outline-primary" href="{{ .Permalink }}"> <a href="{{ .Permalink }}">
{{ if .Param "member" }} {{ if .Param "member" }}
{{ $member := .Param "member" }} {{ $member := .Param "member" }}
{{ range where .Site.RegularPages "Section" "members" }} {{ range where .Site.RegularPages "Section" "members" }}
@ -46,11 +42,7 @@
</div> </div>
</div> </div>
</div> </div>

{{ partial "hubform.html" . }} {{ partial "hubform.html" . }}

</section> </section>

</main> </main>

{{ partial "footer.html" . }} {{ partial "footer.html" . }}

Loading…
Cancel
Save