Kaynağa Gözat

remove unused variable in 404

tags/v1.1
Bud Parr 7 yıl önce
ebeveyn
işleme
789d32ad81
No account linked to committer's email address
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 0
    2
      layouts/404.html
  2. 2
    0
      readme.md

+ 0
- 2
layouts/404.html Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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

Loading…
İptal
Kaydet