Skip to content

Commit

Permalink
Use custom HTML <head> on 404 page.
Browse files Browse the repository at this point in the history
We don't want a 'canonical' ref or an RSS feed on the 404 page.
  • Loading branch information
tohojo committed Jun 18, 2016
1 parent b27bc17 commit af82006
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion layouts/404.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{{ partial "header.html" . }}
<!doctype html>
<html lang="en">
<head>
{{ partial "meta.html" . }}

<title>404 - {{ .Site.Title }}</title>
{{ partial "header.includes.html" . }}
</head>
<body>
{{ partial "navbar.html" . }}
<div class="container">
Expand Down

0 comments on commit af82006

Please sign in to comment.