mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
tpl/tplimpl: Use .Language.LanguageCode in built-in templates
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
9cdca1f958
commit
ff77a927f9
@@ -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 }}">
|
||||
|
Reference in New Issue
Block a user