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.0 KiB

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