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.

46 lines
1.7 KiB

  1. {{ partial "head.html" . }}
  2. <body>
  3. {{ partial "nav.html" . }}
  4. <section id="wrapper">
  5. <article class="post">
  6. <header>
  7. <h1>{{ .Title }}</h1>
  8. <h2 class="headline">
  9. {{ .Date.Format "January 2, 2006" }}
  10. <br>
  11. {{ with .Params.tags }}
  12. {{ if ge (len .) 1 }}
  13. {{ range . }}
  14. <a href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}">{{ . }}</a>
  15. {{ end }}
  16. {{ end }}
  17. {{ end}}
  18. </h2>
  19. </header>
  20. <section id="post-body">
  21. {{ .Content }}
  22. </section>
  23. </article>
  24. <footer id="post-meta" class="clearfix">
  25. {{ with .Site.Params.twitter }}<a href="https://twitter.com/{{ . }}">{{ end }}
  26. <img class="avatar" src="{{ .Site.BaseURL }}images/avatar.png">
  27. <div>
  28. <span class="dark">{{ .Site.Params.name }}</span>
  29. <span>{{ .Site.Params.aboutAuthor }}</span>
  30. </div>
  31. {{ with .Site.Params.twitter }}</a>{{ end }}
  32. <section id="sharing">
  33. {{ partial "share.html" . }}
  34. </section>
  35. </footer>
  36. {{ template "_internal/disqus.html" . }}
  37. {{ partial "latest-posts.html" . }}
  38. {{ partial "footer.html" . }}
  39. </section>
  40. {{ partial "js.html" . }}
  41. </body>
  42. </html>