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.

39 lines
1.5 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
  5. <meta content="utf-8" http-equiv="encoding">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <title>Tovi Jaeschke's Homepage</title>
  8. <link rel="icon" type="image/x-icon" href="/static/favicon.ico"/>
  9. <link rel="stylesheet" type="text/css" href="/css/main.css">
  10. <link href='https://fonts.googleapis.com/css?family=Average|Montserrat' rel='stylesheet' type='text/css'>
  11. <link rel="stylesheet" href="/css/prism.css">
  12. <script src="/js/prism.js"></script>
  13. <script type="text/javascript" src="/js/script.js"></script>
  14. <script type="text/javascript" src="/js/code_resize.js"></script>
  15. </head>
  16. <body>
  17. {{ template "header.gohtml" . }}
  18. <div class="container">
  19. {{ template "sidebar.gohtml" . }}
  20. <div class="main">
  21. {{ if eq .PageView "index-intro.gohtml" }}
  22. {{ template "index-intro.gohtml" . }}
  23. {{ else if eq .PageView "post-list.gohtml" }}
  24. {{ template "post-list.gohtml" . }}
  25. {{ else if eq .PageView "post.gohtml" }}
  26. {{ template "post.gohtml" . }}
  27. {{ else if eq .PageView "index-links.gohtml" }}
  28. {{ template "index-links.gohtml" . }}
  29. {{ else if eq .PageView "error.gohtml" }}
  30. {{ template "error.gohtml" . }}
  31. {{ end }}
  32. </div>
  33. </div>
  34. <footer>
  35. <a href="mailto:tovi@tovijaeschke.xyz">tovi@tovijaeschke.xyz</a>
  36. <p>Last updated: {{ FormatTimestamp .LastUpdatedAt }}</p>
  37. </footer>
  38. </body>
  39. </html>