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.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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>
  19. <div class="client-thumb speaker">
  20. <img class="img-fluid lozad" data-src="/images/client/client-1.webp" onerror="this.onerror=null;this.src='\/images\/client\/client-1.jpg'" alt="Lemos Kail" src="/images/client/client-1.webp" data-loaded="true">
  21. </div>
  22. <div class="bio">{{.speaker_name}}, {{.bio}}</div>
  23. </div>
  24. {{end}}
  25. </div>
  26. <div class="col-lg-8 offset-lg-2">
  27. <div class="post-single-content">
  28. {{ .Content }}
  29. </div>
  30. {{ if site.Params.post_share }}
  31. {{ partial "post-share.html" . }}
  32. {{ end }}
  33. <!-- comments -->
  34. <div class="mt-5">
  35. {{ template "_internal/disqus.html" . }}
  36. </div>
  37. </div>
  38. {{if not .Params.disable_download}}
  39. <div class="col-lg-8 offset-lg-2">
  40. <input type="hidden" id="subject" value="{{.Title }}"/>
  41. <input type="hidden" id="description" value="{{ .Content }}"/>
  42. <input type="hidden" id="location" value="{{.Params.location }}"/>
  43. <input type="hidden" id="start-date" value="{{.Params.event_start_date }}"/>
  44. <input type="hidden" id="end-date" value="{{.Params.event_end_date }}"/>
  45. <input type="hidden" id="filename" value="{{ .Params.calendar_filename }}"/>
  46. <button class="clndr btn btn-main" onclick="downloadEvent()">
  47. <i class="ti-calendar"></i>Add to Calendar
  48. </button>
  49. </div>
  50. {{ end }}
  51. </div>
  52. </div>
  53. </section>
  54. {{ end }}