From 5b963180ab77741190d260cb33ddbb3dca5a27cd Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Tue, 23 Apr 2019 23:02:06 +0200 Subject: [PATCH] Improve accessibility --- archetypes/posts.md | 2 +- layouts/404.html | 2 +- layouts/docs/baseof.html | 2 +- layouts/home.html | 2 +- layouts/partials/docs/git-footer.html | 4 ++-- layouts/partials/docs/html-head.html | 1 - layouts/partials/docs/mobile-header.html | 2 +- layouts/posts/baseof.html | 2 +- 8 files changed, 8 insertions(+), 9 deletions(-) diff --git a/archetypes/posts.md b/archetypes/posts.md index 2a20769..fdccff8 100644 --- a/archetypes/posts.md +++ b/archetypes/posts.md @@ -1,4 +1,4 @@ --- title: "{{ replace .Name "-" " " | title }}" date: {{ .Date }} ---- \ No newline at end of file +--- diff --git a/layouts/404.html b/layouts/404.html index 468ba6f..b6b1d0e 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,6 +1,6 @@ {{- partial "docs/shared" -}} - + {{ partial "docs/html-head" . }} diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index dc654b7..29b067f 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -1,6 +1,6 @@ {{- partial "docs/shared" -}} - + {{ partial "docs/html-head" . }} diff --git a/layouts/home.html b/layouts/home.html index 07057b4..69054ca 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -1,6 +1,6 @@ {{- partial "docs/shared" -}} - + {{ partial "docs/html-head" . }} diff --git a/layouts/partials/docs/git-footer.html b/layouts/partials/docs/git-footer.html index 001c9ff..1f54daa 100644 --- a/layouts/partials/docs/git-footer.html +++ b/layouts/partials/docs/git-footer.html @@ -4,14 +4,14 @@
{{ $date := .AuthorDate.Local.Format (default "January 2, 2006" $.Site.Params.BookDateFormat) }} - {{ $date }} + Changed {{ $date }}
{{ end }} {{ with .Site.Params.BookEditPath }}
{{ if $.File }} - Edit this page + Edit Edit this page {{ end }}
{{ end }} diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html index ab05a59..2aca710 100644 --- a/layouts/partials/docs/html-head.html +++ b/layouts/partials/docs/html-head.html @@ -6,7 +6,6 @@ - {{ $styles := resources.Get "book.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }} diff --git a/layouts/partials/docs/mobile-header.html b/layouts/partials/docs/mobile-header.html index 7febbad..b8fa2a9 100644 --- a/layouts/partials/docs/mobile-header.html +++ b/layouts/partials/docs/mobile-header.html @@ -1,6 +1,6 @@
{{- template "title" . }}
diff --git a/layouts/posts/baseof.html b/layouts/posts/baseof.html index 2f4e8f0..6b32b2e 100644 --- a/layouts/posts/baseof.html +++ b/layouts/posts/baseof.html @@ -1,6 +1,6 @@ {{- partial "docs/shared" -}} - + {{ partial "docs/html-head" . }}