simpletheme/layouts/index.html

51 lines
1.3 KiB
HTML
Raw Normal View History

2020-04-02 09:37:23 +00:00
<!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 }}
2020-06-18 10:57:34 +00:00
{{ partial "profile_link.html" . }}
{{ end }}
2020-04-02 09:37:23 +00:00
<tr>
{{ if ne .Site.Data.personalize.Resume "" }}
<td><i class="fas fa-file-alt" aria-hidden="true"></i></td>
2020-06-04 09:48:30 +00:00
<td>&nbsp;<a href="/resume/{{ .Site.Data.personalize.Resume }}" target="_blank">Resume</a></td>
2020-04-02 09:37:23 +00:00
{{ end }}
</tr>
<tr>
{{ if ne .Site.Data.personalize.Email "" }}
<td><i class="fas fa-envelope" aria-hidden="true"></i></td>
<td>&nbsp;<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>
2020-06-18 11:16:10 +00:00
{{ if ne .Site.Data.personalize.GoatCounterCode ""}}
<script data-goatcounter="{{ .Site.Data.personalize.GoatCounterCode }}" async src="//gc.zgo.at/count.js"></script>
2020-06-18 10:57:34 +00:00
{{ end }}
2020-04-02 09:37:23 +00:00
</body>
2020-06-18 11:16:10 +00:00
</html>