From 238b4e9cef5fcaec4bfc231e7719d4aeeb626463 Mon Sep 17 00:00:00 2001 From: Ivanq Date: Thu, 1 Apr 2021 21:12:19 +0300 Subject: [PATCH] Detect html lang attribute based on locale --- _layouts/default.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 _layouts/default.html diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 000000000..0ae934839 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,21 @@ + +{%- assign lang = page.locale | split: "_" | first -%} + + + {%- include head.html -%} + + + + {%- include header.html -%} + +
+
+ {{ content }} +
+
+ + {%- include footer.html -%} + + + +