_includes/reset/schema.liquid in jekyll-rtd-theme-1.0.0 vs _includes/reset/schema.liquid in jekyll-rtd-theme-1.0.1
- old
+ new
@@ -1,2 +1,6 @@
{%- assign schema_url = page.url | absolute_url | xml_escape -%}
{%- assign schema_lastmod = page.date | default: site.time | date_to_xmlschema -%}
+
+{%- assign schema_weight_title = page.title | size | divided_by: 200.0 -%}
+{%- assign schema_weight_content = page.content | size | divided_by: 1024.0 -%}
+{%- assign schema_priority = schema_weight_content | plus: schema_weight_title | times: 10 | ceil | divided_by: 10.0 | at_least: 0.1 | at_most: 1.0 -%}