Jake Howard
cd83cbf332
Because of this, images had to be changed to load async, else pages are crazy intensive to load
16 lines
698 B
HTML
16 lines
698 B
HTML
{{ define "main" }}
|
|
|
|
{{ $header_image := (resources.Get "img/header.jpg" | fingerprint).Resize "1500x" }}
|
|
<header id="index-header" class="d-flex align-items-center" style="background-image: url({{ $header_image.RelPermalink }})">
|
|
<div class="text-center m-auto text-light">
|
|
<h1 class="display-1">{{ .Site.Params.author_name }}</h1>
|
|
<h2 class="lead">{{ .Content }}</h2>
|
|
|
|
<form action='{{ (.Site.GetPage "search").RelPermalink }}' method="GET">
|
|
<div class="input-group mt-5">
|
|
<input name="q" type="text" class="form-control" id="search-input" placeholder="Search" title="Press enter to search">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</header>
|
|
{{ end }}
|