{{ define "main" }}

<section class="py-5">
  <div class="container">
    <div class="row">
      <div class="col-lg-10 mx-auto text-center">
        {{$img:= resources.Get (site.Params.page_not_found_image) }}
        {{$img:= $img.Resize "500x webp"}}
        <img loading="lazy" decoding="async" src="{{$img.RelPermalink}}" alt="404" class="img-fluid mb-4" width="{{$img.Width}}" height="{{$img.Height}}">
        <h1 class="mb-4">Page Not Found!</h1>
        <a href="{{site.BaseURL}}" class="btn btn-outline-primary">Back To Home</a>
      </div>
    </div>
  </div>
</section>

{{ end }}