Removing not needed role attributes.

This commit is contained in:
Fredrik Jonsson 2019-03-20 13:31:09 +01:00
commit 727bcf7d7b
3 changed files with 13 additions and 13 deletions

View file

@ -13,7 +13,7 @@
<body>
<div class="page layout__page{{ if $.Param "sidebar" | default true }} layout__sidebar-second{{ end }}">
<header class="header layout__header" role="banner">
<header class="header layout__header">
{{ if $.Param "logo" | default true }}<a href="{{ "/" | relLangURL }}" title="Home" rel="home" class="header__logo"><img src="{{ "/images/logo.png" | relURL }}" alt="Home" class="header__logo-image"></a>{{ end }}
<h1 class="header__site-name">
<a href="{{ "/" | relLangURL }}" title="Home" class="header__site-link" rel="home"><span>{{ .Site.Title }}</span></a>
@ -30,7 +30,7 @@
{{ if $.Param "sidebar" | default true }}{{ partial "sidebar.html" . -}}{{ end }}
<footer class="footer layout__footer" role="contentinfo">
<footer class="footer layout__footer">
{{ if $.Param "feedlinks" }}{{ partial "feedlinks.html" . }}{{ end -}}
<p>{{ with $.Param "copyright" }}{{ . | markdownify }}{{ else }}<span>© {{ .Site.Title }}</span>{{ end }}</p>
{{ with $.Param "footer" }}<p>{{ . | markdownify }}</p>{{ end }}

View file

@ -8,7 +8,7 @@
{{ end }}
{{ define "main" -}}
<main class="main layout__main" role="main">
<main class="main layout__main">
<h1 class="title">{{ .Title }}</h1>
{{ $paginator := .Paginate (.Data.Pages) -}}
{{ range $paginator.Pages -}}

View file

@ -8,7 +8,7 @@
{{ end }}
{{ define "main" -}}
<main class="main layout__main" role="main">
<main class="main layout__main">
<h1 class="title {{ if $.Param "submitted" | default false }}title-submitted{{ end }}">{{ .Title }}</h1>
<article class="{{ with .Section }}section-{{ . | urlize }} {{ end }}single-view">
<header>