diff --git a/assets/js/template-dom-scripts.js b/assets/js/template-dom-scripts.js index a09330d..26e24c6 100644 --- a/assets/js/template-dom-scripts.js +++ b/assets/js/template-dom-scripts.js @@ -70,7 +70,6 @@ var link = document.createElement('a'); link.setAttribute('href', '#' + id); var headingText = heading.textContent; - link.setAttribute('aria-label', 'This ' + headingText + ' section'); link.innerHTML = ''; container.appendChild(link); diff --git a/layouts/post/single.html b/layouts/post/single.html index 6ef8e4e..06466c0 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -10,18 +10,18 @@
{{ $dateFormat := $.Site.Params.dateFormat | default "Jan 2, 2006" }} {{ $publishDate := .PublishDate }} - {{ $publishDate.Format $dateFormat }} + {{ T "publish_date" }} {{ $publishDate.Format $dateFormat }} {{ with .Lastmod }} {{ if gt . $publishDate }}
- {{ .Format $dateFormat }} + {{ T "last_updated" }} {{ .Format $dateFormat }} {{ end }} {{ end }}
{{ with .Params.tags }}
- + {{ T "tags" }}