1
Fork 0
theorangeone.net-legacy/layouts/index.html

17 lines
698 B
HTML
Raw Normal View History

2017-10-25 09:35:55 +01:00
{{ define "main" }}
2018-08-15 21:24:59 +01:00
2020-09-10 09:21:00 +01:00
{{ $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 }})">
2017-10-25 13:49:43 +01:00
<div class="text-center m-auto text-light">
2017-11-09 13:39:14 +00:00
<h1 class="display-1">{{ .Site.Params.author_name }}</h1>
<h2 class="lead">{{ .Content }}</h2>
2021-07-03 10:30:48 +01:00
<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>
2017-10-25 09:35:55 +01:00
</div>
</header>
{{ end }}