This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git


The following commit(s) were added to refs/heads/master by this push:
     new cd158a6  fix: broken <head> <header> markup
cd158a6 is described below

commit cd158a68b7d35ce28f1b72c05720d6aa3013ee6e
Author: Zoran Regvart <zregv...@apache.org>
AuthorDate: Tue Jul 23 13:50:31 2019 +0200

    fix: broken <head> <header> markup
---
 layouts/partials/header.html | 90 ++++++++++++++++++++++----------------------
 1 file changed, 44 insertions(+), 46 deletions(-)

diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 7ff7465..449d241 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,62 +1,60 @@
 <!DOCTYPE html>
 <html lang="en">
-    <head>
-        <meta charset="utf-8">
-        <meta name="viewport" content="width=device-width, initial-scale=1.0">
-        <link rel="apple-touch-icon-precomposed" sizes="57x57" href="{{ 
"apple-touch-icon-57x57.png" | relURL }}" />
-        <link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ 
"apple-touch-icon-114x114.png" | relURL }}" />
-        <link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ 
"apple-touch-icon-72x72.png" | relURL }}" />
-        <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ 
"apple-touch-icon-144x144.png" | relURL }}" />
-        <link rel="apple-touch-icon-precomposed" sizes="60x60" href="{{ 
"apple-touch-icon-60x60.png" | relURL }}" />
-        <link rel="apple-touch-icon-precomposed" sizes="120x120" href="{{ 
"apple-touch-icon-120x120.png" | relURL }}" />
-        <link rel="apple-touch-icon-precomposed" sizes="76x76" href="{{ 
"apple-touch-icon-76x76.png" | relURL }}" />
-        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="{{ 
"apple-touch-icon-152x152.png" | relURL }}" />
-        <link rel="icon" type="image/png" href="{{ "favicon-196x196.png" | 
relURL }}" sizes="196x196" />
-        <link rel="icon" type="image/png" href="{{ "favicon-96x96.png" | 
relURL }}" sizes="96x96" />
-        <link rel="icon" type="image/png" href="{{ "favicon-32x32.png" | 
relURL }}" sizes="32x32" />
-        <link rel="icon" type="image/png" href="{{ "favicon-16x16.png" | 
relURL }}" sizes="16x16" />
-        <link rel="icon" type="image/png" href="{{ "favicon-128.png" | relURL 
}}" sizes="128x128" />
-        <meta name="application-name" content="Apache Camel"/>
-        <link rel="manifest" href="{{ "site.webmanifest" | relURL }}">
-        <title>{{ block "title" . }}{{ .Title }} - {{ .Site.Title }}{{ end 
}}</title>
-        <link rel="canonical" href="{{ .URL }}">
-        {{ if .Description}}
-        <meta name="description" content="{{ .Description }}">
-        {{ end }}
-        {{ if .Keywords}}
-        <meta name="keywords" content="{{ .Keywords }}">
-        {{ end }}
-        <link rel="stylesheet" href="{{ "/_/css/site.css" | relURL }}">
-    </head>
 <head>
+    <meta charset="utf-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <link rel="apple-touch-icon-precomposed" sizes="57x57" href="{{ 
"apple-touch-icon-57x57.png" | relURL }}" />
+    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ 
"apple-touch-icon-114x114.png" | relURL }}" />
+    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ 
"apple-touch-icon-72x72.png" | relURL }}" />
+    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ 
"apple-touch-icon-144x144.png" | relURL }}" />
+    <link rel="apple-touch-icon-precomposed" sizes="60x60" href="{{ 
"apple-touch-icon-60x60.png" | relURL }}" />
+    <link rel="apple-touch-icon-precomposed" sizes="120x120" href="{{ 
"apple-touch-icon-120x120.png" | relURL }}" />
+    <link rel="apple-touch-icon-precomposed" sizes="76x76" href="{{ 
"apple-touch-icon-76x76.png" | relURL }}" />
+    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="{{ 
"apple-touch-icon-152x152.png" | relURL }}" />
+    <link rel="icon" type="image/png" href="{{ "favicon-196x196.png" | relURL 
}}" sizes="196x196" />
+    <link rel="icon" type="image/png" href="{{ "favicon-96x96.png" | relURL 
}}" sizes="96x96" />
+    <link rel="icon" type="image/png" href="{{ "favicon-32x32.png" | relURL 
}}" sizes="32x32" />
+    <link rel="icon" type="image/png" href="{{ "favicon-16x16.png" | relURL 
}}" sizes="16x16" />
+    <link rel="icon" type="image/png" href="{{ "favicon-128.png" | relURL }}" 
sizes="128x128" />
+    <meta name="application-name" content="Apache Camel"/>
+    <link rel="manifest" href="{{ "site.webmanifest" | relURL }}">
+    <title>{{ block "title" . }}{{ .Title }} - {{ .Site.Title }}{{ end 
}}</title>
+    <link rel="canonical" href="{{ .URL }}">
+    {{ if .Description}}
+    <meta name="description" content="{{ .Description }}">
+    {{ end }}
+    {{ if .Keywords}}
+    <meta name="keywords" content="{{ .Keywords }}">
+    {{ end }}
+    <link rel="stylesheet" href="{{ "/_/css/site.css" | relURL }}">
+</head>
 
 <body class="article">
     <nav class="navbar shadow border-bottom">
         <div class="navbar-brand">
-          <a class="navbar-item nav-logo" href="{{ .Site.BaseURL | relURL }}" 
title="{{ .Site.Title }}"></a>
-          <button class="navbar-burger" data-target="topbar-nav">
-            <span></span>
-            <span></span>
-            <span></span>
-          </button>
+            <a class="navbar-item nav-logo" href="{{ .Site.BaseURL | relURL 
}}" title="{{ .Site.Title }}"></a>
+            <button class="navbar-burger" data-target="topbar-nav">
+                <span></span>
+                <span></span>
+                <span></span>
+            </button>
         </div>
         <div id="topbar-nav" class="navbar-menu">
-          <div class="navbar-end">
-            {{ range .Site.Menus.main }}
-              {{ if .HasChildren }}
+            <div class="navbar-end">
+                {{ range .Site.Menus.main }}
+                {{ if .HasChildren }}
                 <div class="navbar-item has-dropdown is-hoverable">
                     <a class="navbar-link" href="#">{{ .Name }}</a>
                     <div class="navbar-dropdown">
-                      {{ range .Children }}
-                      <a class="navbar-item" href="{{ .URL | relURL }}">{{ 
.Name }}</a>
-                      {{ end }}
+                        {{ range .Children }}
+                        <a class="navbar-item" href="{{ .URL | relURL }}">{{ 
.Name }}</a>
+                        {{ end }}
                     </div>
                 </div>
-              {{ else }}
+                {{ else }}
                 <a class="navbar-item" href="{{ .URL | relURL }}">{{ .Name 
}}</a>
-              {{ end }}
-            {{ end }}
-          </div>
+                {{ end }}
+                {{ end }}
+            </div>
         </div>
-      </nav>
-    </header>
+    </nav>

Reply via email to