Skip to content
This repository has been archived by the owner on Jul 21, 2019. It is now read-only.

Commit

Permalink
Move around boilerplate for event page
Browse files Browse the repository at this point in the history
  • Loading branch information
mattstratton committed Nov 20, 2016
1 parent 81365aa commit d94bde0
Showing 1 changed file with 69 additions and 61 deletions.
130 changes: 69 additions & 61 deletions layouts/event/single.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{{ define "main" }}

{{/* site data query copypasta */}}
{{ $path := split $.Source.File.Path .Site.Params.pathseperator }}
{{ $event_slug := index $path 1 }}
{{ $e := (index $.Site.Data.events $event_slug) }}
{{/* end site data query */}}

<div class="row">
<!-- enclosing div -->
<div class="col-md-12">
Expand All @@ -9,27 +15,6 @@
{{ end }}
<!-- need to add else statement for the rest of the content types -->

<div class="row">
<!--first sponsor row-->
<div class="col-md-12">
<h4>Gold Sponsors</h4><i>Become a Gold Sponsor!</i>

<div class="row">
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
</div>
</div>
</div>
<div class = "row">
<div class = "col-md-12">
<h4>Speakers</h4>
Expand Down Expand Up @@ -57,27 +42,7 @@ <h4>Speakers</h4>
<i>The Evolution of Automation</i>
</div>
</div>
<div class="row">
<!--first sponsor row-->
<div class="col-md-12">
<h4>Silver Sponsors</h4><i>Become a Silver Sponsor!</i>

<div class="row">
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
</div>
</div>
</div>
<div class = "row">
<div class = "col-md-3">
<img src="/events/2016-chicago/speakers/adam-jacob-tn.jpg" class = "img-responsive" /><br />
Expand All @@ -100,27 +65,7 @@ <h4>Silver Sponsors</h4><i>Become a Silver Sponsor!</i>
<i>The Evolution of Automation</i>
</div>
</div>
<div class="row">
<!--first sponsor row-->
<div class="col-md-12">
<h4>Bronze Sponsors</h4><i>Become a Bronze Sponsor!</i>

<div class="row">
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
</div>
</div>
</div>
<div class = "row">
<div class = "col-md-3">
<img src="/events/2016-chicago/speakers/adam-jacob-tn.jpg" class = "img-responsive" /><br />
Expand All @@ -143,6 +88,69 @@ <h4>Bronze Sponsors</h4><i>Become a Bronze Sponsor!</i>
<i>The Evolution of Automation</i>
</div>
</div>
<div class="row">
<!--first sponsor row-->
<div class="col-md-12">
<h4>Gold Sponsors</h4><i>Become a Gold Sponsor!</i>

<div class="row">
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
</div>
</div>
</div>
<div class="row">
<!--first sponsor row-->
<div class="col-md-12">
<h4>Silver Sponsors</h4><i>Become a Silver Sponsor!</i>

<div class="row">
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
</div>
</div>
</div>
<div class="row">
<!--first sponsor row-->
<div class="col-md-12">
<h4>Bronze Sponsors</h4><i>Become a Bronze Sponsor!</i>

<div class="row">
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
<div class="col-md-3">
<img src="/img/sponsors/chef.png" />
</div>
</div>
</div>
</div>
<div class="row">
<!--first sponsor row-->
<div class="col-md-12">
Expand Down

0 comments on commit d94bde0

Please sign in to comment.