tpl/tplimpl: Use .Language.LanguageCode in built-in templates

This commit is contained in:
Joe Mooring
2023-05-27 15:04:51 -07:00
committed by Bjørn Erik Pedersen
parent 9cdca1f958
commit ff77a927f9
3 changed files with 5 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html{{ with site.LanguageCode | default site.Language.Lang }} lang="{{ . }}"{{ end }}>
<html lang="{{ site.Language.LanguageCode }}">
<head>
<title>{{ .Permalink }}</title>
<link rel="canonical" href="{{ .Permalink }}">