put <html> tag generation in shared include file

parent 8a674cee
{% if site.active_lang == "" or site.active_lang == nil %}
<html lang="en">
{% else %}
{% if site.active_lang == "ar" or site.active_lang == "fa" or site.active_lang == "he" %}
<html lang="{{site.active_lang}}" dir="rtl">
{% else %}
<html lang="{{site.active_lang}}">
{% endif %}
{% endif %}
<!DOCTYPE html>
<html>
{% include html-tag.html %}
{% include head.html %}
......
<!DOCTYPE html>
{% if site.active_lang == "" or site.active_lang == nil %}
<html lang="en">
{% else %}
{% if site.active_lang == "ar" or site.active_lang == "fa" or site.active_lang == "he" %}
<html lang="{{site.active_lang}}" dir="rtl">
{% else %}
<html lang="{{site.active_lang}}">
{% endif %}
{% endif %}
{% include html-tag.html %}
{% include head.html %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment