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.

31 lines
1.7 KiB

  1. {{ define "main" }}
  2. <main>
  3. <div class="contents">
  4. <span id="pagination-top">{{ partial "pagination.html" . }}</span>
  5. {{ range .Paginator.Pages }}
  6. <section data-post-type="{{ .Type }}" class="h-entry {{.Type }}">
  7. <div class="author">
  8. <a rel="author" class= "u-author" href="https://jk.nipponalba.scot"><img class="u-photo" src="/images/profile.jpg" style="display:none"/></a>
  9. </div>
  10. <aside>
  11. {{if eq .Type "article" }}<a href="{{ .RelPermalink }}" class="link u-url"><h3 class="">{{ .Title }}</h3></a><b>{{ .Description }}</b>{{ end }}
  12. <div class="e-content">
  13. {{ with .Page.Params.Photo }}{{ partial "taxonomy/photo.html" . }}{{ end }}
  14. {{ .Content }}
  15. </div>
  16. <a href="{{ .RelPermalink }}" class="link u-url"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></a>
  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.Category }}{{ partial "taxonomy/categories.html" . }}{{ end }}
  22. {{ with .Page.Params.Tags }}{{ partial "taxonomy/tags.html" . }}{{ end }}
  23. </div>
  24. </div>
  25. </aside>
  26. </section><hr/>
  27. {{ end }}
  28. <span id="pagination-bottom">{{ partial "pagination.html" . }}</span>
  29. </div>
  30. </main>
  31. {{ end }}