diff options
author | Andrew Varner <varnerac@users.noreply.github.com> | 2017-11-22 11:44:09 +0300 |
---|---|---|
committer | Guillermo Guerrero Ibarra <wolf.fox1985@gmail.com> | 2017-11-22 11:44:09 +0300 |
commit | 56f2e2932dd0f99b9cc2fb9380cfcebc131f93d3 (patch) | |
tree | e787fd46f09ed868c57f8f1cbf129e89b67dbdc3 | |
parent | 3f645b6cbaa94fd3afbe5205f1b1ec99cbecdccd (diff) |
Parameterize 404 (#118)
This PR replaces hardcoded values in the `404.html` template with
appropriate Hugo variables.
-rw-r--r-- | layouts/404.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/404.html b/layouts/404.html index 8ca20b2..4f48435 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -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> |