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.

41 lines
1.5 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 "2. January 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. </footer>
  33. {{ partial "latest-posts.html" . }}
  34. {{ partial "footer.html" . }}
  35. </section>
  36. {{ partial "js.html" . }}
  37. </body>
  38. </html>