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

Make sidebar not show up on events page #169

Merged
merged 1 commit into from
Feb 2, 2017
Merged
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
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