all repos — archive/hugo-xmin @ d023e3b56011d349703373540dff5cf7e50beb85

Customised minimal hugo theme

add language code

Yihui Xie
commit

d023e3b56011d349703373540dff5cf7e50beb85

parent

2b5a86a26bdbf80d88e354263d0b1f9773b33c9c

2 files changed, 2 insertions(+), 1 deletion(-)

jump to
M exampleSite/config.tomlexampleSite/config.toml
@@ -1,4 +1,5 @@
baseurl = "/" +languageCode = "en-us" title = "A minimal Hugo website" theme = "hugo-xmin" googleAnalytics = ""
M layouts/partials/header.htmllayouts/partials/header.html
@@ -1,5 +1,5 @@
<!DOCTYPE html> -<html> +<html lang="{{ .Site.LanguageCode }}"> <head> <meta charset="utf-8"> <title>{{ .Title }} | {{ .Site.Title }}</title>