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.

22 lines
1.1 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. {{ .Content }}
  14. </div>
  15. <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>
  16. </aside>
  17. </section><hr/>
  18. {{ end }}
  19. <span id="pagination-bottom">{{ partial "pagination.html" . }}</span>
  20. </div>
  21. </main>
  22. {{ end }}