Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'examples/multilingual/layouts/chrome/head.html')
-rw-r--r--examples/multilingual/layouts/chrome/head.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/multilingual/layouts/chrome/head.html b/examples/multilingual/layouts/chrome/head.html
new file mode 100644
index 000000000..44d1d7362
--- /dev/null
+++ b/examples/multilingual/layouts/chrome/head.html
@@ -0,0 +1,15 @@
+<!doctype html>
+<html lang="{{ .Params.lang }}">
+<head>
+ <meta charset="utf-8">
+ {{ if .Title }}
+ {{ if (eq .Params.lang "et") }}
+ <title>Mitmekeelne - {{ .Title }}</title>
+ {{ else }}
+ <title>Multilingual - {{ .Title }}</title>
+ {{ end }}
+ {{ end }}
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="stylesheet" href="/static/main.css">
+</head>
+<body> \ No newline at end of file