single.html 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {{ partial "header.html" . }}
  2. <main id="content" role="main">
  3. <article itemscope itemtype="http://schema.org/BlogPosting">
  4. <h1 class="p-name entry-title" itemprop="headline name">
  5. <a href="{{ .RelPermalink }}">{{ .Title }}</a></h1>
  6. <small>
  7. <span class="dateline">Posted: <time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2006-01-02" }}</time></span>
  8. | More posts about
  9. {{ range .Params.tags }}
  10. <a class="tag p-category" href="/tags/{{ . | urlize }}.html" rel="tag">
  11. {{ . }}
  12. </a>
  13. {{ end }}
  14. </small>
  15. <div class="e-content entry-content" itemprop="entry-text">
  16. {{ .Content }}
  17. </div>
  18. <aside class="postpromonav">
  19. <nav>
  20. <ul class="pager clearfix">
  21. {{ with .PrevInSection }}
  22. <li class="previous">
  23. <a href="{{ .RelPermalink }}" rel="prev" title="{{ .Title }}">&larr; Previous post</a>
  24. </li>
  25. {{ end }}
  26. {{ with .NextInSection }}
  27. <li class="next">
  28. <a href="{{ .RelPermalink }}" rel="next" title="{{ .Title }}">Next post &rarr;</a>
  29. </li>
  30. {{ end }}
  31. </ul>
  32. </nav>
  33. </aside>
  34. <section class="comments">
  35. {{ partial "comments.html" . }}
  36. </section>
  37. </article>
  38. </main>
  39. {{ partial "footer.html" . }}