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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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"><a href="{{ `author/` | relLangURL }}{{ .Params.Author | urlize }}/">{{ .Params.Author }}</a></li> -->
  10. <li class="list-inline-item">{{ dateFormat "Monday, Jan 2, 2006" .Params.event_start_date }}</li>
  11. </ul>
  12. {{ with .Params.Image }}
  13. <img class="img-fluid mb-50 lozad" data-src="{{ .Params.Image | absURL }}" alt="blog-image">
  14. {{end}}
  15. </div>
  16. <div class="col-lg-8 offset-lg-2 mb-3">
  17. <h4>
  18. Speakers
  19. </h4>
  20. {{ range .Params.event_speakers }}
  21. <div>
  22. <div class="client-thumb speaker">
  23. <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">
  24. </div>
  25. <div class="bio">{{.speaker_name}}, {{.bio}}</div>
  26. </div>
  27. {{end}}
  28. </div>
  29. <div class="col-lg-8 offset-lg-2">
  30. <div class="post-single-content">
  31. {{ .Content }}
  32. </div>
  33. {{ if site.Params.post_share }}
  34. {{ partial "post-share.html" . }}
  35. {{ end }}
  36. <!-- comments -->
  37. <div class="mt-5">
  38. {{ template "_internal/disqus.html" . }}
  39. </div>
  40. </div>
  41. {{if not .Params.disable_download}}
  42. <div class="col-lg-8 offset-lg-2">
  43. <input type="hidden" id="subject" value="{{.Title }}"/>
  44. <input type="hidden" id="cl-description" value="{{ .Params.calendar_description }}"/>
  45. <input type="hidden" id="description" value="{{ .Content }}"/>
  46. <input type="hidden" id="location" value="{{.Params.location }}"/>
  47. <input type="hidden" id="start-date" value="{{.Params.event_start_date }}"/>
  48. <input type="hidden" id="end-date" value="{{.Params.event_end_date }}"/>
  49. <input type="hidden" id="filename" value="{{ .Params.calendar_filename }}"/>
  50. <button class="clndr btn btn-main" onclick="downloadEvent()">
  51. <i class="ti-calendar"></i>Add to Calendar
  52. </button>
  53. </div>
  54. {{ end }}
  55. </div>
  56. </div>
  57. </section>
  58. {{ end }}