Browse Source

added html for speakers

pull/141/head
abhidj0090 4 years ago
parent
commit
835d66b36a
2 changed files with 22 additions and 14 deletions
  1. 21
    13
      layouts/events/single.html
  2. 1
    1
      layouts/partials/events.html

+ 21
- 13
layouts/events/single.html View File

@@ -12,9 +12,15 @@
<li class="list-inline-item">{{ dateFormat "Monday, Jan 2, 2006" .Params.event_start_date }}</li>
</ul>
{{ if (isset .Params "image") }}
<img class="img-fluid mb-50 lozad" data-src="{{ .Params.Image | absURL }}" alt="blog-image">
<img class="img-fluid mb-50 lozad" data-src="{{ .Params.Image | absURL }}" alt="blog-image">
{{end}}
</div>
{{ range .Params.Event_speakers }}
<div class="col-lg-8 offset-lg-2">
Speakers
{{.Speaker_name}} {{.Bio}}
</div>
{{end}}
<div class="col-lg-8 offset-lg-2">
<div class="post-single-content">
{{ .Content }}
@@ -27,18 +33,20 @@
{{ template "_internal/disqus.html" . }}
</div>
</div>
<div class="col-lg-8 offset-lg-2">
<input type="hidden" id="subject" value="{{.Title }}"/>
<input type="hidden" id="cl-description" value="{{ .Params.calendar_description }}"/>
<input type="hidden" id="description" value="{{ .Content }}"/>
<input type="hidden" id="location" value="{{.Params.location }}"/>
<input type="hidden" id="start-date" value="{{.Params.event_start_date }}"/>
<input type="hidden" id="end-date" value="{{.Params.event_end_date }}"/>
<input type="hidden" id="filename" value="{{ .Params.calendar_filename }}"/>
<button class="clndr btn btn-main" onclick="downloadEvent()">
<i class="ti-calendar"></i>Add to Calendar
</button>
</div>
{{if .Params.Disable_download}}
<div class="col-lg-8 offset-lg-2">
<input type="hidden" id="subject" value="{{.Title }}"/>
<input type="hidden" id="cl-description" value="{{ .Params.calendar_description }}"/>
<input type="hidden" id="description" value="{{ .Content }}"/>
<input type="hidden" id="location" value="{{.Params.location }}"/>
<input type="hidden" id="start-date" value="{{.Params.event_start_date }}"/>
<input type="hidden" id="end-date" value="{{.Params.event_end_date }}"/>
<input type="hidden" id="filename" value="{{ .Params.calendar_filename }}"/>
<button class="clndr btn btn-main" onclick="downloadEvent()">
<i class="ti-calendar"></i>Add to Calendar
</button>
</div>
{{ end }}
</div>
</div>
</section>

+ 1
- 1
layouts/partials/events.html View File

@@ -25,7 +25,7 @@
{{ end }}
<div class="all-post text-center col-lg-12">
<a class="btn btn-main" href="{{ `event` | absLangURL }}">{{ i18n "ViewAllEvents" }}</a>
<a class="btn btn-main" href="{{ `events` | absLangURL }}">{{ i18n "ViewAllEvents" }}</a>
</div>
</div>
</div>

Loading…
Cancel
Save