diff options
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index b17f8ce..bd9f83d 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,7 +5,11 @@ SPDX-License-Identifier: MIT */}} <!DOCTYPE html> +{{ with .Page.Params.Lang }} +<html lang="{{ . }}"> +{{ else }} <html lang="{{ .Page.Language.Lang }}"> +{{ end }} <head> {{ block "head" . }} {{ partial "head.html" . }} |