taxonomy.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {{ define "main" }}
  2. {{ range .Paginator.Pages }}
  3. <article class="gdoc-post">
  4. <header class="gdoc-post__header">
  5. <h1 class="gdoc-post__title">
  6. <a href="{{ .RelPermalink }}">{{ partial "utils/title" . }}</a>
  7. </h1>
  8. </header>
  9. <section class="gdoc-markdown">
  10. {{ .Summary }}
  11. </section>
  12. <div class="gdoc-post__readmore">
  13. {{ if .Truncated }}
  14. <a
  15. class="flex-inline align-center fake-link"
  16. title="{{ i18n "posts_read_more" }}"
  17. href="{{ .RelPermalink }}"
  18. >
  19. {{ i18n "posts_read_more" }}
  20. <i class="gdoc-icon">gdoc_arrow_right_alt</i>
  21. </a>
  22. {{ end }}
  23. </div>
  24. <footer class="gdoc-post__footer">
  25. <div class="flex flex-wrap align-center gdoc-post__meta">
  26. {{ partial "posts/metadata.html" . }}
  27. </div>
  28. </footer>
  29. </article>
  30. {{ end }}
  31. {{ partial "pagination.html" . }}
  32. {{ end }}
  33. {{ define "post-tag" }}
  34. <span class="gdoc-post__tag">
  35. <span class="gdoc-button">
  36. <a
  37. class="gdoc-button__link"
  38. href="{{ .page.RelPermalink }}"
  39. title="{{ i18n "posts_tagged_with" .name }}"
  40. >
  41. {{ .name }}
  42. </a>
  43. </span>
  44. </span>
  45. {{ end }}