refactor(baseof.html): update language attribute to use site.LanguageCode variable for better localization support

refactor(baseof.html): update page title to use site.Title variable for consistency and easier maintenance
refactor(nav.html): update anchor tags to use relURL instead of relLangURL for correct URL generation
refactor(nav.html): update link text to use .Title instead of .Identifier for better readability
This commit is contained in:
Sped0n
2023-11-03 09:50:32 +08:00
parent ed40ddd27e
commit eb6c485ea5
2 changed files with 7 additions and 7 deletions

View File

@@ -1,14 +1,14 @@
<!doctype html>
<html lang="en">
<html lang="{{- site.LanguageCode -}}">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{ .Site.Params.title }}</title>
<title>{{ site.Title }}</title>
{{- partial "head/link.html" -}}
{{- partial "head/meta.html" -}}
{{- partial "head/seo.html" -}}
</head>
<body>
<body lang="{{- site.LanguageCode -}}">
<div id="main">
{{- block "main" . -}}
{{- end -}}