選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

single.html 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. {{with .Params.event_speakers}}
  17. <div class="col-lg-8 offset-lg-2 mb-3">
  18. <h4>
  19. Speakers
  20. </h4>
  21. {{ range .Params.event_speakers }}
  22. <div>
  23. <div class="client-thumb speaker">
  24. <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">
  25. </div>
  26. <div class="bio">{{.speaker_name}} {{.bio}}</div>
  27. </div>
  28. {{end}}
  29. </div>
  30. {{end}}
  31. <div class="col-lg-8 offset-lg-2">
  32. <div class="post-single-content">
  33. {{ .Content }}
  34. </div>
  35. {{ if site.Params.post_share }}
  36. {{ partial "post-share.html" . }}
  37. {{ end }}
  38. <!-- comments -->
  39. <div class="mt-5">
  40. {{ template "_internal/disqus.html" . }}
  41. </div>
  42. </div>
  43. {{if .Params.disable_download}}
  44. <div class="col-lg-8 offset-lg-2">
  45. <input type="hidden" id="subject" value="{{.Title }}"/>
  46. <input type="hidden" id="cl-description" value="{{ .Params.calendar_description }}"/>
  47. <input type="hidden" id="description" value="{{ .Content }}"/>
  48. <input type="hidden" id="location" value="{{.Params.location }}"/>
  49. <input type="hidden" id="start-date" value="{{.Params.event_start_date }}"/>
  50. <input type="hidden" id="end-date" value="{{.Params.event_end_date }}"/>
  51. <input type="hidden" id="filename" value="{{ .Params.calendar_filename }}"/>
  52. <button class="clndr btn btn-main" onclick="downloadEvent()">
  53. <i class="ti-calendar"></i>Add to Calendar
  54. </button>
  55. </div>
  56. {{ end }}
  57. </div>
  58. </div>
  59. </section>
  60. {{ end }}