diff --git a/_config.yml b/_config.yml index 77c0e60..4ff8880 100644 --- a/_config.yml +++ b/_config.yml @@ -11,13 +11,9 @@ sass: defaults: - scope: - path: "" + path: "*.md" values: layout: wiki - - scope: - path: assets/js - values: - layout: null collections: en-US: diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..e263eaf --- /dev/null +++ b/robots.txt @@ -0,0 +1,15 @@ +--- +--- + +User-agent: * +Disallow: /ic-IC/ +{% for collection in site.collections %} + {%- unless collection.label == "ic-IC" -%} + {%- for item in collection.docs -%} + +{% unless item.lang == collection.label %}Disallow: {{ item.url }} +{% endunless %} + + {%- endfor -%} + {%- endunless -%} +{%- endfor -%}