Permalink
Browse files

Parameterize 404 (#118)

This PR replaces hardcoded values in the `404.html` template with
appropriate Hugo variables.
  • Loading branch information...
varnerac authored and ryanfox1985 committed Nov 22, 2017
1 parent 3f645b6 commit 56f2e2932dd0f99b9cc2fb9380cfcebc131f93d3
Showing with 3 additions and 3 deletions.
  1. +3 −3 layouts/404.html
View
@@ -21,15 +21,15 @@
<div class="box">
<p class="text-center">
<a href="index.html">
<img src="img/logo.png" alt="Obaju template">
<a href="{{ .Site.BaseURL }}">
<img src="{{ .Site.Params.logo }}" alt="{{ .Title }} logo">
</a>
</p>
<h3>We are sorry - this page is not here anymore</h3>
<h4 class="text-muted">Error 404 - Page not found</h4>
<p class="buttons"><a href="index.html" class="btn btn-template-main"><i class="fa fa-home"></i> Go to Homepage</a>
<p class="buttons"><a href="{{ .Site.BaseURL }}" class="btn btn-template-main"><i class="fa fa-home"></i> Go to Homepage</a>
</p>
</div>

0 comments on commit 56f2e29

Please sign in to comment.