Skip to content
Snippets Groups Projects
Commit 682bdc51 authored by angelobanse's avatar angelobanse
Browse files

Member logos grid fixed


Signed-off-by: default avatarAngelo Banse <angelo_22@outlook.com>
parent 0109f898
No related branches found
No related tags found
No related merge requests found
...@@ -10,22 +10,37 @@ ...@@ -10,22 +10,37 @@
{{ .Content }} {{ .Content }}
{{ $paginator := .Paginate .Data.Pages }} {{ $paginator := .Paginate .Data.Pages }}
{{ if ne $paginator.NumberOfElements 0 }} {{ if ne $paginator.NumberOfElements 0 }}
<div class="news-list">
<div class="news-list-col">
{{ range $paginator.Pages }}
<ul class="news-list-media list-unstyled">
<li>
<a href="{{- with .Params.link | default .RelPermalink }} {{.}} {{- end }}" class="media media-link">
<p class="media-text">{{ .Summary }}</p>
<style type=text/css>
.member-placement {
margin:10px;
padding:30px;
background:#fff;
display: block;
color: #484848;
height: 150px;
}
.member-placement:hover {
background: #fcdab2;
text-decoration: none;
}
</style>
<div class="container-fluid"> <!-- --->
<div class="row">
{{ range $paginator.Pages }}
<a href="{{- with .Params.link | default .RelPermalink }} {{.}} {{- end }}">
<div class="col-sm-10 text-center member-placement">
<p class="media-text">{{ .Summary }}</p></div>
</a> </a>
</li>
</ul>
{{ end }} {{ end }}
{{ template "_internal/pagination.html" . }} {{ template "_internal/pagination.html" . }}
</div> </div>
</div> </div> <!-- --->
{{ end }} {{ end }}
{{ if ne .Page.Params.hide_sidebar "true" }} {{ if ne .Page.Params.hide_sidebar "true" }}
</div> </div>
...@@ -36,4 +51,5 @@ ...@@ -36,4 +51,5 @@
{{ end }} {{ end }}
</div> </div>
</main> </main>
{{ end }} {{ end }}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment