Bläddra i källkod

remove unused variable in 404

tags/v1.1
Bud Parr 7 år sedan
förälder
incheckning
789d32ad81
Inget konto är kopplat till bidragsgivarens mejladress
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 0
    2
      layouts/404.html
  2. 2
    0
      readme.md

+ 0
- 2
layouts/404.html Visa fil

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

+ 2
- 0
readme.md Visa fil

@@ -40,3 +40,5 @@ This theme uses the "Tachyons" CSS library. This will allow you to manipulate th

TODO:
- 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

Laddar…
Avbryt
Spara