mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 03:36:41 +02:00
Fix validation HTML validation errors (#62)
* Make the theme compliant with W3C standards (#55) * Dropped the line because chrome tab is deprecated. * On header, "li" elements are meant to surround the "a" elements and not the other way around. * Dropped all section tags I could find at first glance, as they had no semantic meaning and were firing warnings at the W3C validator. * Change "middot" from a helper div to a helper class since putting div's inside ul's is not compliant * Fixed a problem of the previous commit. A middot would not hide if on mobile. * Fix archetypes bug with Go templates * Fix additional validation error in 404
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
||||
<meta name="HandheldFriendly" content="True">
|
||||
<meta name="MobileOptimized" content="320">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
@@ -23,4 +22,4 @@
|
||||
<meta property="twitter:card" content="summary">
|
||||
{{ end }}
|
||||
<meta property="og:description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else if .IsPage }}{{ .Description }}{{ end }}">
|
||||
<meta property="twitter:description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else if .IsPage }}{{ .Description }}{{ end }}">
|
||||
<meta property="twitter:description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else if .IsPage }}{{ .Description }}{{ end }}">
|
||||
|
Reference in New Issue
Block a user