Browse Source

remove unused variable in 404

tags/v1.1
Bud Parr 7 years ago
parent
commit
789d32ad81
No account linked to committer's email address
2 changed files with 2 additions and 2 deletions
  1. 0
    2
      layouts/404.html
  2. 2
    0
      readme.md

+ 0
- 2
layouts/404.html View File

{{ define "header" }}{{ partial "page-header.html" . }}{{ end }} {{ define "header" }}{{ partial "page-header.html" . }}{{ end }}
{{ define "main" }} {{ define "main" }}
{{ $currentPageUrl := .URL }}
{{ $currentSection := where .Site.Pages "Section" .Section }}
<article class="center cf pv5 measure-wide-l"> <article class="center cf pv5 measure-wide-l">
<h1> <h1>
This is not the page you were looking for This is not the page you were looking for

+ 2
- 0
readme.md View File



TODO: TODO:
- ADD INSTRUCTIONS - ADD INSTRUCTIONS
- small dummy copyright notice with a formatted date could be added
- fix hard-coded link to section https://github.com/budparr/gohugo-default-theme/blob/master/layouts/index.html#L32

Loading…
Cancel
Save