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

Commit

Permalink
Make sidebar not show up on events page (#169)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Stratton <[email protected]>
  • Loading branch information
mattstratton authored Feb 2, 2017
1 parent ae2f1e9 commit bb57a43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<div class="row">
{{ if .IsPage }}

{{ $my_path := split $.Source.File.Path .Site.Params.pathseperator }}
{{ if eq (index $my_path 0) "events" }}
{{ $url_path := split $.Permalink "/" }}
{{ if eq (index $url_path 3) "events" }}
<div class="col-md-12">
<!-- Main Content -->
{{- block "main" . }} {{- end -}}
Expand Down

0 comments on commit bb57a43

Please sign in to comment.