sidebar-single.html 1.75 KB
Newer Older
1
{{ $baseUrl := .Site.BaseURL }}
2
{{ $url := .Permalink }}
3
<div class="col-sm-3 col-sm-offset-1 doc-sidebar">
4
	<div id="sidebar">
Ethan Madison's avatar
Ethan Madison committed
5
	{{ if isset .Site.Params "practiceTimes" }}
6
	<div class="sidebar-module">
Ethan Madison's avatar
Ethan Madison committed
7
8
9
10
11
12
13
14
15
            <h4 class="sidebar-heading">Practice</h4>	</div>
            {{ with .Site.Params.practiceTimes.sunday }}<strong>Sunday</strong>: {{ . }}<br>{{ end }}
            {{ with .Site.Params.practiceTimes.monday }}<strong>Monday</strong>: {{ . }}<br>{{ end }}
            {{ with .Site.Params.practiceTimes.tuesday }}<strong>Tuesday</strong>: {{ . }}<br>{{ end }}
            {{ with .Site.Params.practiceTimes.wednesday }}<strong>Wednesday</strong>: {{ . }}<br>{{ end }}
            {{ with .Site.Params.practiceTimes.thursday }}<strong>Thursday</strong>: {{ . }}<br>{{ end }}
            {{ with .Site.Params.practiceTimes.friday }}<strong>Friday</strong>: {{ . }}<br>{{ end }}
            {{ with .Site.Params.practiceTimes.saturday }}<strong>Saturday</strong>: {{ . }}<br>{{ end }}
        {{ end }}
16
        {{ with .Site.Params.practiceLocation }}at {{ . | markdownify }}{{ end }}
17
	</div>
18
19
20
21
22
23
24
25
26
27

    {{ if (isset .Site.Params "practiceTimes") and (isset .Site.Params "calendarId") }}
    <br><br>
    {{ end }}

    {{ with .Site.Params.calendarId }}
    <div class="sidebar-module">
        <h4 class="sidebar-heading">Calendar</h4>   </div>
        <iframe src="https://calendar.google.com/calendar/embed?showTitle=0&amp;showNav=0&amp;showDate=0&amp;showPrint=0&amp;showTabs=0&amp;showCalendars=0&amp;showTz=0&amp;mode=AGENDA&amp;height=300&amp;wkst=1&amp;bgcolor=%23ffffff&amp;src={{ . }}&amp;color=%232952A3&amp;ctz=America%2FNew_York" style="border-width:0" width="270" height="300" frameborder="0" scrolling="no"></iframe>
    {{ end }}
28
	</div>
Ethan Madison's avatar
Ethan Madison committed
29
</div><!-- /.doc-sidebar -->