Add language

This commit is contained in:
Simon 2020-03-09 15:08:09 +01:00
parent c78f0f5f46
commit 0a71e48957
4 changed files with 70 additions and 66 deletions

View File

@ -1,11 +1,11 @@
<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
<html lang="{{ .Site.Language.Lang }}">
{{ partial "head.html" . }}
<body>
{{- partial "header.html" . -}}
{{ partial "header.html" . }}
<div id="content">
{{- block "main" . }}{{- end }}
{{ block "main" . }}{{ end }}
</div>
{{- partial "footer.html" . -}}
{{ partial "footer.html" . }}
</body>
</html>

View File

@ -1,3 +1,4 @@
<head>
<meta charset="utf-8">
<base href="{{ .Site.BaseURL }}">
@ -8,3 +9,4 @@
{{ partial "social_metadata.html" . }}
{{ partial "style.html" . }}
</head>

View File

@ -1,3 +1,5 @@
{{/* https://github.com/msfjarvis/hugo-social-metadata */}}
<!-- Configure meta and title tags -->
<meta property="og:type" content="website" />
{{ if .Site.Params.TwitterCardType }}