simpletheme/layouts/index.html
J S 3c62bce75c
feat[js]: Changed color theme selector.
It was duplicating on some platforms.
2023-11-08 17:42:48 -05:00

50 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html>
{{ partial "head.html" . }}
<body>
<h1>{{ .Site.Params.Name }}</h1>
<h4>{{ .Site.Params.About| markdownify }}</h4>
<div>{{ .Content }}</div>
<table>
{{ range .Site.Params.profiles }}
{{ partial "profile_link.html" . }}
{{ end }}
<tr>
{{ if ne .Site.Params.Resume "" }}
<td><i class="fas fa-file-alt" aria-hidden="true"></i></td>
<td>&nbsp;<a href="/resume/{{ .Site.Params.Resume }}" target="_blank">Resume</a></td>
{{ end }}
</tr>
<tr>
{{ if ne .Site.Params.Email "" }}
<td><i class="fas fa-envelope" aria-hidden="true"></i></td>
<td>&nbsp;<code>{{ .Site.Params.Email }}</code></td>
{{ end }}
</tr>
</table>
<h3>Posts</h3>
<div>
<!-- orders content according to the "publishdate" field in front matter -->
{{ range first (.Site.Params.PostLimit | default 4) (where .Site.RegularPages.ByPublishDate "Section" "posts") }}
<div>
<a href="{{ .Permalink }}">{{ .Title }}</a><br />
<time>{{ .Date.Format "January 2, 2006" }}</time>
</div>
<br />
{{ end }}
<hr>
<h3><a href="posts/">View all posts</a></h3>
<h3><a href="categories/"> View all categories</a></h3>
<h3><a href="tags/"> View all tags</a></h3>
</div>
</body>
</html>