You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

single.html 2.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {{ define "main" }}
  2. {{ partial "navigation.html" . }}
  3. <section class="section">
  4. <div class="container">
  5. <div class="row">
  6. <div class="col-lg-8 offset-lg-2 text-center">
  7. <h1>{{ .Title }}</h1>
  8. <ul class="list-inline mb-50">
  9. <li class="list-inline-item">{{ dateFormat "Monday, Jan 2, 2006" .Params.event_start_date }}</li>
  10. </ul>
  11. <img class="img-fluid mb-50 lozad" data-src="{{ .Params.image | absURL }}" alt="blog-image">
  12. </div>
  13. <div class="col-lg-8 offset-lg-2 mb-3">
  14. <h4>
  15. Speakers
  16. </h4>
  17. {{ range .Params.event_speakers }}
  18. <div class="mb-2">
  19. {{with .speaker_image}}
  20. <div class="client-thumb speaker">
  21. <img class="img-fluid lozad" data-src="{{ .speaker_image_webp | absURL }}" onerror="this.onerror=null;this.src='{{ .speaker_image | absURL }}'" alt="{{ .speaker_name }}">
  22. </div>
  23. {{end}}
  24. <div class="bio">{{.speaker_name}}, {{.bio}}</div>
  25. </div>
  26. {{end}}
  27. </div>
  28. <div class="col-lg-8 offset-lg-2">
  29. <div class="post-single-content">
  30. {{ .Content }}
  31. </div>
  32. {{ if site.Params.post_share }}
  33. {{ partial "post-share.html" . }}
  34. {{ end }}
  35. <!-- comments -->
  36. <div class="mt-5">
  37. {{ template "_internal/disqus.html" . }}
  38. </div>
  39. </div>
  40. <div class="col-lg-8 offset-lg-2">
  41. {{if not .Params.disable_link}}
  42. <a href={{.Params.meeting_link}} class="btn btn-main" target="_blank"><i class="ti-link"></i>Join</a>
  43. {{end}}
  44. {{if not .Params.disable_download}}
  45. <input type="hidden" id="subject" value="{{.Title }}"/>
  46. <input type="hidden" id="description" value="{{ .Params.meeting_link }}"/>
  47. <input type="hidden" id="location" value="{{.Params.location }}"/>
  48. <input type="hidden" id="start-date" value="{{.Params.event_start_date }}"/>
  49. <input type="hidden" id="end-date" value="{{.Params.event_end_date }}"/>
  50. <input type="hidden" id="filename" value="{{ .Params.calendar_filename }}"/>
  51. <button class="clndr btn btn-main" onclick="downloadEvent()">
  52. <i class="ti-calendar"></i>Add to Calendar
  53. </button>
  54. {{ end }}
  55. </div>
  56. </div>
  57. </div>
  58. </section>
  59. {{ end }}