Ver Fonte

Add hugo generator tag

Zachary Betz há 6 anos atrás
pai
commit
299d50b7ee
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      layouts/partials/head.html

+ 3 - 3
layouts/partials/head.html

@@ -2,6 +2,8 @@
   <meta charset="utf-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <meta http-equiv="X-UA-Compatible" content="IE=edge">
+
+  {{ .Hugo.Generator }}
   <link rel="canonical" href="{{ .Permalink }}">
 
   <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
@@ -25,7 +27,5 @@
   {{ if .IsHome }}
     {{ $title = .Site.Title }}
   {{ end }}
-  <title>
-    {{ $title }}
-  </title>
+  <title>{{ $title }}</title>
 </head>