2018-10-23 01:15:50 -04:00
|
|
|
{{ define "main" }}
|
2018-11-22 08:33:07 -05:00
|
|
|
{{- with .Site.Params.bgImg }}
|
|
|
|
<div class="bg-img" style="background-image: url('{{ . }}')"></div>
|
|
|
|
{{- end }}
|
2018-10-23 01:15:50 -04:00
|
|
|
<div id="spotlight" class="animated fadeIn">
|
|
|
|
<div id="home-center">
|
|
|
|
<h1 id="home-title">{{ .Site.Title }}</h1>
|
|
|
|
{{- with .Site.Params.homeSubtitle }}
|
|
|
|
<p id="home-subtitle">{{.}}</p>
|
|
|
|
{{- end }}
|
|
|
|
{{- with .Site.Params.social }}
|
|
|
|
<div id="home-social">
|
|
|
|
{{ partialCached "social-icons.html" . }}
|
|
|
|
</div>
|
|
|
|
{{- end }}
|
|
|
|
<nav id="home-nav" class="site-nav">
|
|
|
|
{{- range .Site.Menus.main }}
|
|
|
|
<a href="{{ .URL }}">{{ .Name }}</a>
|
|
|
|
{{- end }}
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
<div id="home-footer">
|
2018-12-26 03:49:41 -05:00
|
|
|
<p>© {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a>. {{ with (not (in (.Site.Language.Get "disableKinds") "RSS")) }}<a href="{{ "posts/index.xml" | absURL }}" target="_blank" title="rss"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rss"><path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle></svg></a>{{ end }}</p>
|
2018-10-23 01:15:50 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "footer" }}
|
|
|
|
<script>let haveHeader = false;</script>
|
2018-12-11 11:02:36 -05:00
|
|
|
{{ end }}
|