diff options
author | goransv <gsv@appernetic.io> | 2019-06-20 14:02:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-20 14:02:16 +0300 |
commit | 9eaa3e13ebeff86e2f04b28eab19b46b306ab98f (patch) | |
tree | 676f485563f5fd10e9d0e778efc6f5ce0e30d42a | |
parent | 677a40a718fb470f2e225d70df286884a928eb24 (diff) | |
parent | 1473652100b404b577fe51025e37dbd0fcb1e5ee (diff) |
Merge pull request #59 from ayeks/master
Remediate HTMLProofer findings
-rw-r--r-- | layouts/contact/list.html | 5 | ||||
-rw-r--r-- | layouts/partials/head.html | 2 | ||||
-rw-r--r-- | layouts/partials/header.html | 4 | ||||
-rw-r--r-- | layouts/partials/topnavigation.html | 2 |
4 files changed, 5 insertions, 8 deletions
diff --git a/layouts/contact/list.html b/layouts/contact/list.html index 82523b1..72539f2 100644 --- a/layouts/contact/list.html +++ b/layouts/contact/list.html @@ -3,8 +3,6 @@ <body class="page-template-default page ct-body singular singular-page not-front standard"> {{ end }} {{ define "main" }} - <div id="main" class="main" role="main"> - <div id="loop-container" class="loop-container"> <div class="entry"> @@ -49,6 +47,5 @@ </div> </div> </div> </div> - - </div> + {{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 5e8bab9..5e0866a 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -13,7 +13,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="robots" content="all,follow"> <meta name="googlebot" content="index,follow,snippet,archive"> -<link rel="stylesheet" id="ct-tracks-google-fonts-css" href="//fonts.googleapis.com/css?family=Raleway%3A400%2C700&subset=latin%2Clatin-ext&ver=4.7.2" type="text/css" media="all"> +<link rel="stylesheet" id="ct-tracks-google-fonts-css" href="https://fonts.googleapis.com/css?family=Raleway%3A400%2C700&subset=latin%2Clatin-ext&ver=4.7.2" type="text/css" media="all"> <!-- Upgraded to Font Awesome 5.3 no need for local files using all.css so all icons are available --> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous"> <!-- Theme stylesheet, if possible do not edit this stylesheet --> diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 7ce297c..d6ec34b 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -18,12 +18,12 @@ <ul id="menu-primary-items" class="menu-primary-items"> {{ $page := . }} {{ range .Site.Menus.main }} - <li id="menu-item" class='menu-item {{ if eq ("/") (.URL) }}menu-item-type-custom menu-item-object-custom{{ else }}menu-item-type-post_type menu-item-object-page{{ end }} {{ if $page.IsMenuCurrent "main" . }}current-menu-item current_page_item{{ end }}'> + <li class='menu-item {{ if eq ("/") (.URL) }}menu-item-type-custom menu-item-object-custom{{ else }}menu-item-type-post_type menu-item-object-page{{ end }} {{ if $page.IsMenuCurrent "main" . }}current-menu-item current_page_item{{ end }}'> <a href="{{ .URL | absURL }}">{{ .Name }}</a> {{ if .HasChildren }} <ul class="sub-menu"> {{ range .Children }} - <li id="menu-item" class='menu-item {{ if eq ("/") (.URL) }}menu-item-type-custom menu-item-object-custom{{ else }}menu-item-type-post_type menu-item-object-page{{ end }} {{ if $page.IsMenuCurrent "main" . }}current-menu-item current_page_item{{ end }}'> + <li class='menu-item {{ if eq ("/") (.URL) }}menu-item-type-custom menu-item-object-custom{{ else }}menu-item-type-post_type menu-item-object-page{{ end }} {{ if $page.IsMenuCurrent "main" . }}current-menu-item current_page_item{{ end }}'> <a href="{{ .URL | absURL }}">{{ .Name }}</a> </li> {{ end }} diff --git a/layouts/partials/topnavigation.html b/layouts/partials/topnavigation.html index a4df615..a507872 100644 --- a/layouts/partials/topnavigation.html +++ b/layouts/partials/topnavigation.html @@ -7,7 +7,7 @@ <ul id="menu-secondary-items" class="menu-secondary-items"> {{ range $name, $taxonomy := .Site.Taxonomies.categories }} - <li id="menu-item" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item"> + <li class="menu-item menu-item-type-taxonomy menu-item-object-category"> <a href="{{ "/categories/" | relLangURL }}{{ $name | urlize }}">{{ $name }}</a> </li> {{ end }} |