jk.nipponalba.scot website https://jk.nipponalba.scot
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

36 lines
1.1 KiB

5 years ago
5 years ago
  1. {{ define "main" }}
  2. <div class="post animated fadeInDown">
  3. <div class="post-content">
  4. {{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }}
  5. <div class="post-title">
  6. <h3>{{ .Title }}
  7. </h3>
  8. {{ if eq .Type "post"}}
  9. <div class="info">
  10. <i class="fa fa-sun-o"></i><span class="date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
  11. <i class="fa fa-clock-o"></i><span class="reading-time">{{ .ReadingTime }}-minute read</span>
  12. </div>
  13. {{ end }}
  14. </div>
  15. {{ .Content }}
  16. </div>
  17. <div class="post-footer">
  18. <div class="info">
  19. {{ with .Page.Params.Blog }}{{ partial "taxonomy/blog.html" . }}{{ end }}
  20. {{ with .Page.Params.Categories }}{{ partial "taxonomy/categories.html" . }}{{ end }}
  21. {{ with .Page.Params.Tags }}{{ partial "taxonomy/tags.html" . }}{{ end }}
  22. </div>
  23. </div>
  24. {{ if eq .Type "post"}}
  25. {{ if .Site.DisqusShortname -}}
  26. <div id="fb_comments_container">
  27. <h2>Comments</h2>
  28. {{ template "_internal/disqus.html" . }}
  29. </div>
  30. {{- end }}
  31. {{ end }}
  32. </div>
  33. {{ end }}