Skip to content
This repository was archived by the owner on Jul 21, 2019. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions exampleSite/data/events/2017-hoofington.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ sponsors:
level: gold
- id: panopta
level: gold
- id: evident
level: gold
- id: pagerduty
level: gold
- id: 2016-newrelic
Expand Down
2 changes: 0 additions & 2 deletions exampleSite/data/events/2017-ponyville.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ sponsors:
level: gold
- id: panopta
level: gold
- id: evident
level: gold
- id: pagerduty
level: gold
- id: 2016-newrelic
Expand Down
9 changes: 1 addition & 8 deletions layouts/partials/sponsors.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,12 @@ <h4>{{ $level.label }} Sponsors</h4>
{{- end -}}

<div class="row">
{{ $.Scratch.Set "i" 0 }}
{{- range where $e.sponsors "level" $level.id -}}
{{ $s := (index $.Site.Data.sponsors .id) }}
{{ if isset $.Site.Data.sponsors .id }}
{{ $.Scratch.Add $level.id 1 }}
{{ $.Scratch.Add "i" 1 }}
<div class = "col-md-3 col-sm-6 col-xs-6">
<div class = "col-lg-2 col-md-3 col-sm-6 col-xs-6">
<a href = "{{ $s.url }}"><img alt = "{{ $s.name }}" title = "{{ $s.name }}" src = "/img/sponsors/{{ .id }}.png" class="img-responsive"></a>
</div>
{{ if modBool ($.Scratch.Get "i") 4 }}
</div>
<div class="row">
{{ end }}
{{- end -}}
{{- end -}}
</div>
Expand Down
1 change: 1 addition & 0 deletions static/css/site.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions static/site.less
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,6 @@ a.footer-content {
font-weight: 700;
color: #0082AB;
}


/* Sponsors */