_layouts/base.html in jekyll-theme-plain-0.2.0 vs _layouts/base.html in jekyll-theme-plain-0.3.0
- old
+ new
@@ -1,10 +1,9 @@
-{%- assign lang = page.lang -%}
-{%- if lang == nil -%}{%- assign lang = site.lang -%}
-{%- if lang == nil -%}{%- assign lang = 'en' -%}{%- endif -%}{%- endif -%}
+{%- include variables.html -%}
<!DOCTYPE html>
<html {%- if lang %} lang="{{- lang -}}"{%- endif -%}>
- <head>{% include head.html %} </head>
+ <head>{%- include head.html %}
+ </head>
<body>
{{ content }} </body>
</html>