diff --git a/_layouts/default.html b/_layouts/default.html
index a92a798..e0740cc 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -9,13 +9,19 @@ layout: compress
+{% if site.lang %}
+ {% assign lang = site.lang | split: "_" | first %}
+{% else %}
+ {% assign lang = 'en' %}
+{% endif %}
+
{% capture prefer_mode %}
{% if site.theme_mode != "dual" %}
mode="{{ site.theme_mode }}"
{% endif %}
{% endcapture %}
-
+
{% include head.html %}