diff --git a/SCRATCHPAD-WISHLIST.md b/SCRATCHPAD-WISHLIST.md index 2198814..8e08b1f 100644 --- a/SCRATCHPAD-WISHLIST.md +++ b/SCRATCHPAD-WISHLIST.md @@ -37,7 +37,12 @@ without needing to replace all CSS). * Valid HTML5 / CSS3 (updated as browsers gain support for features) * Canonical or not appropriately * Index / follow or not appropriately -* Robots.txt with pointer to sitemap.xml +* TODO: Robots.txt with pointer to sitemap.xml + +## 404 + +Basic 404 page (just the error message "404 Not Found" in the style of the +site). ## Mobile diff --git a/layouts/404.html b/layouts/404.html index f8689c0..376cf2d 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,6 +1,6 @@ {{ define "main-content" }} -{{- if templates.Exists "partials/output-wtg-awt/layout-404.html" }} -{{ partial "output-wtg-awt/layout-404.html" . -}} +{{- if templates.Exists "partials/wtg-theme/output/layout-404.html" }} +{{ partial "wtg-theme/output/layout-404.html" . -}} {{- else }}
404 Page not found
{{- end -}} diff --git a/layouts/partials/wtg-shell/output/head-canonical.html b/layouts/partials/wtg-shell/output/head-canonical.html index b37fa21..7dde986 100644 --- a/layouts/partials/wtg-shell/output/head-canonical.html +++ b/layouts/partials/wtg-shell/output/head-canonical.html @@ -32,13 +32,4 @@ {{ (printf "" .Permalink) | safeHTML -}} {{- end -}} {{- end -}} -{{- if .IsTranslated -}} - {{- range .Translations }} - - {{- end }} - - {{- with .Sites.First.GetPage (.TranslationKey | strings.TrimPrefix (.Page.Kind | lower) | strings.TrimPrefix "/") }} - - {{- end -}} -{{- end -}} {{- /* Remove trailing newlines */ -}} diff --git a/layouts/partials/wtg-shell/output/page-header-nav.html b/layouts/partials/wtg-shell/output/page-header-nav.html index fed86c8..3fdce17 100644 --- a/layouts/partials/wtg-shell/output/page-header-nav.html +++ b/layouts/partials/wtg-shell/output/page-header-nav.html @@ -2,19 +2,8 @@ -{{- /* Next header piece is/are links to translations of this page */ -}} -{{- if .IsTranslated }} -