1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 12:56:21 -04:00
jarv.is/layouts/404.html
Jake Jarvis 3a3849e8ec
add a partial template that returns an asset's URL and hash from webpack's manifest
still a mess but slightly more modular. also added a real 404 page.
2021-09-03 11:16:27 -04:00

12 lines
385 B
HTML

{{ define "main" }}
<div class="layout layout-404">
{{ with partial "functions/webpack" (dict "context" . "src" "images/angry-panda.gif") }}
<img src="{{ .src }}" width="435" height="300" alt="Panda takes out anger on innocent computer.">
{{ end }}
<h2>404 Makes Panda Angry</h2>
<p><a href="/">Maybe it's wise to get out of here and go home...?</a></p>
</div>
{{ end }}