diff options
Diffstat (limited to 'examples/multilingual/layouts/partials/head.html')
-rw-r--r-- | examples/multilingual/layouts/partials/head.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/multilingual/layouts/partials/head.html b/examples/multilingual/layouts/partials/head.html new file mode 100644 index 000000000..f89e3ffb3 --- /dev/null +++ b/examples/multilingual/layouts/partials/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 |