_layouts/default.html in jekyll-theme-mehdix-rtl-3.1.2 vs _layouts/default.html in jekyll-theme-mehdix-rtl-3.2.0
- old
+ new
@@ -1,46 +1,12 @@
-<!DOCTYPE html>
-<html dir="rtl" lang="fa">
-
- <head>
- {%- include_cached head.html -%}
+---
+layout: bare
+---
+{%- include_cached header.html -%}
- {%- if page.tags -%}
- <meta name="keywords" content='{{ page.tags | join: "," }}' />
- {%- elsif page.url contains site.tag_page_dir -%}
- <meta name="robots" content="noindex">
- {%- else -%}
- <meta name="keywords" content='{{ site.keywords | split: " " | join: "," }}' />
- {%- endif -%}
+<main>
+ <div class="wrapper">
+ {{- content -}}
+ </div>
+</main>
- {%- if page.title -%}
- <title>{{ page.title }} - {{ site.title}}</title>
- {%- else -%}
- <title>{{ site.title }}</title>
- {%- endif -%}
-
- <link hreflang="fa" rel=alternate type=application/atom+xml title="{{ site.title }}" href="{{ post.url | absolute_url }}/feed.xml">
-
- {%- if site.feedburner_id -%}
- <link hreflang="fa" rel=alternate type=application/atom+xml title="{{ site.title }}" href="https://feeds.feedburner.com/{{site.feedburner_id}}">
- {%- endif -%}
-
- {% seo %}
-
- </head>
-
- <body>
-
- {%- include_cached header.html -%}
-
- <main>
- <div class="wrapper">
- {{- content -}}
- </div>
- </main>
-
- {%- include_cached footer.html -%}
-
- <script src="{{ '/assets/js/main.js' | absolute_url }}"></script>
- {% if site.google_analytics_id %} {% include_cached analyticstracking.html %} {% endif %}
- </body>
-</html>
+{%- include_cached footer.html -%}
\ No newline at end of file