Merge pull request #124 from mdavids/patch-3

Improved variant of #119, as per request
This commit is contained in:
Mathieu Cornic 2018-02-08 19:54:09 +01:00 committed by GitHub
commit 335d574d80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" class="js csstransforms3d">
<html lang="{{ .Page.Language | default "en" }}" class="js csstransforms3d">
<head>
<meta charset="utf-8"> {{ partial "meta.html" . }} {{ partial "favicon.html" . }} {{ .Scratch.Add "title" "" }}{{ if eq .Site.Data.titles .Title }}{{ .Scratch.Set "title" (index .Site.Data.titles .Title).title }}{{ else }}{{ .Scratch.Set "title" .Title}}{{end}}