{{ define "main" }} {{- $image := resources.Get "images/404.png" }} <main class="container" aria-role="main"> <div> <h1 id="title">404 Page not Found</h1> <p>The requested page was not found. Maybe try searching from <a href="{{ .Site.Home.RelPermalink }}">home</a>.</p> <img src="{{ $image.RelPermalink }}"> </div> </main> {{ end }}