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.

50 lines
1.1KB

  1. <!DOCTYPE html>
  2. <html>
  3. {{ partial "head.html" . }}
  4. <body>
  5. <h1>{{ .Site.Data.personalize.Name }}</h1>
  6. <h4>{{ .Site.Data.personalize.About| markdownify }}</h4>
  7. <table>
  8. {{ range .Site.Data.personalize.profiles }}
  9. {{ partial "profile_link.html" . }}
  10. {{ end }}
  11. <tr>
  12. {{ if ne .Site.Data.personalize.Resume "" }}
  13. <td><i class="fas fa-file-alt" aria-hidden="true"></i></td>
  14. <td>&nbsp;<a href="assets/pdf/{{ .Site.Data.personalize.Resume }}" target="_blank">Resume</a></td>
  15. {{ end }}
  16. </tr>
  17. <tr>
  18. {{ if ne .Site.Data.personalize.Email "" }}
  19. <td><i class="fas fa-envelope" aria-hidden="true"></i></td>
  20. <td>&nbsp;<code>{{ .Site.Data.personalize.Email }}</code></td>
  21. {{ end }}
  22. </tr>
  23. </table>
  24. <h3>Posts</h3>
  25. <div>
  26. <!-- orders content according to the "publishdate" field in front matter -->
  27. {{ range first .Site.Data.personalize.PostLimit .Pages.ByPublishDate }}
  28. <div>
  29. <a href="{{ .Permalink }}">{{ .Title }}</a><br />
  30. <time>{{ .Date.Format "January 2, 2006" }}</time>
  31. </div>
  32. <br />
  33. {{ end }}
  34. <h3><a href="posts/">View all posts</a></h3>
  35. </div>
  36. </body>
  37. </html>