44be73a11c
The .personalize.toml now requires all social profile links be TOML table entries.
50 lines
1.1 KiB
HTML
50 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
{{ partial "head.html" . }}
|
|
|
|
<body>
|
|
|
|
<h1>{{ .Site.Data.personalize.Name }}</h1>
|
|
|
|
<h4>{{ .Site.Data.personalize.About| markdownify }}</h4>
|
|
|
|
<table>
|
|
{{ range .Site.Data.personalize.profiles }}
|
|
{{ partial "profile_link.html" . }}
|
|
{{ end }}
|
|
<tr>
|
|
{{ if ne .Site.Data.personalize.Resume "" }}
|
|
<td><i class="fas fa-file-alt" aria-hidden="true"></i></td>
|
|
<td> <a href="assets/pdf/{{ .Site.Data.personalize.Resume }}" target="_blank">Resume</a></td>
|
|
{{ end }}
|
|
</tr>
|
|
<tr>
|
|
{{ if ne .Site.Data.personalize.Email "" }}
|
|
<td><i class="fas fa-envelope" aria-hidden="true"></i></td>
|
|
<td> <code>{{ .Site.Data.personalize.Email }}</code></td>
|
|
{{ end }}
|
|
</tr>
|
|
</table>
|
|
|
|
<h3>Posts</h3>
|
|
|
|
<div>
|
|
|
|
<!-- orders content according to the "publishdate" field in front matter -->
|
|
{{ range first .Site.Data.personalize.PostLimit .Pages.ByPublishDate }}
|
|
<div>
|
|
<a href="{{ .Permalink }}">{{ .Title }}</a><br />
|
|
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
|
</div>
|
|
<br />
|
|
{{ end }}
|
|
|
|
|
|
<h3><a href="posts/">View all posts</a></h3>
|
|
</div>
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|