mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Bud Parr
15.06.2017 789d32ad8101c526430b2f4f12f619cb41d4a079
remove unused variable in 404
2 files modified
4 ■■■■ changed files
layouts/404.html 2 ●●●●● patch | view | raw | blame | history
readme.md 2 ●●●●● patch | view | raw | blame | history
layouts/404.html
@@ -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
readme.md
@@ -40,3 +40,5 @@
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