diff --git a/_config.yml b/_config.yml index 7067684320e..eafc2c11736 100644 --- a/_config.yml +++ b/_config.yml @@ -33,6 +33,7 @@ defaults: path: "" type: rules values: + name: undefined layout: rule - scope: path: "" @@ -41,7 +42,6 @@ defaults: layout: rule draft: true name: undefined - rule_id: undefined test_mode: undefined - scope: path: "" @@ -55,10 +55,14 @@ defaults: layout: testcase draft: true - scope: - path: pages/algorithms + path: "pages/algorithms" + type: pages values: + layout: algorithm category: algorithms exclude: +- _draft-testcase-embeds - _drafts/early-stage -- _draft-testcase-embeds \ No newline at end of file +- _drafts/outdated +- _rules/outdated diff --git a/_drafts/SC1-1-1+SC4-1-2-interactive-images.md b/_drafts/outdated/SC1-1-1+SC4-1-2-interactive-images.md similarity index 100% rename from _drafts/SC1-1-1+SC4-1-2-interactive-images.md rename to _drafts/outdated/SC1-1-1+SC4-1-2-interactive-images.md diff --git a/_drafts/SC1-1-1-decorative-images.md b/_drafts/outdated/SC1-1-1-decorative-images.md similarity index 100% rename from _drafts/SC1-1-1-decorative-images.md rename to _drafts/outdated/SC1-1-1-decorative-images.md diff --git a/_drafts/SC1-1-1-informative-images.md b/_drafts/outdated/SC1-1-1-informative-images.md similarity index 100% rename from _drafts/SC1-1-1-informative-images.md rename to _drafts/outdated/SC1-1-1-informative-images.md diff --git a/_drafts/SC1-2-1-audio-only-alternative.md b/_drafts/outdated/SC1-2-1-audio-only-alternative.md similarity index 100% rename from _drafts/SC1-2-1-audio-only-alternative.md rename to _drafts/outdated/SC1-2-1-audio-only-alternative.md diff --git a/_drafts/SC1-2-1-video-only-alternative.md b/_drafts/outdated/SC1-2-1-video-only-alternative.md similarity index 100% rename from _drafts/SC1-2-1-video-only-alternative.md rename to _drafts/outdated/SC1-2-1-video-only-alternative.md diff --git a/_drafts/SC1-2-2-captions-prerecorded.md b/_drafts/outdated/SC1-2-2-captions-prerecorded.md similarity index 100% rename from _drafts/SC1-2-2-captions-prerecorded.md rename to _drafts/outdated/SC1-2-2-captions-prerecorded.md diff --git a/_drafts/SC1-2-2-video-element.md b/_drafts/outdated/SC1-2-2-video-element.md similarity index 100% rename from _drafts/SC1-2-2-video-element.md rename to _drafts/outdated/SC1-2-2-video-element.md diff --git a/_drafts/SC1-3-1-form-division.md b/_drafts/outdated/SC1-3-1-form-division.md similarity index 100% rename from _drafts/SC1-3-1-form-division.md rename to _drafts/outdated/SC1-3-1-form-division.md diff --git a/_drafts/SC1-3-1-p-as-heading.md b/_drafts/outdated/SC1-3-1-p-as-heading.md similarity index 100% rename from _drafts/SC1-3-1-p-as-heading.md rename to _drafts/outdated/SC1-3-1-p-as-heading.md diff --git a/_drafts/SC1-3-1-radio-check.md b/_drafts/outdated/SC1-3-1-radio-check.md similarity index 100% rename from _drafts/SC1-3-1-radio-check.md rename to _drafts/outdated/SC1-3-1-radio-check.md diff --git a/_drafts/SC1-3-1-table-caption.md b/_drafts/outdated/SC1-3-1-table-caption.md similarity index 100% rename from _drafts/SC1-3-1-table-caption.md rename to _drafts/outdated/SC1-3-1-table-caption.md diff --git a/_drafts/SC1-3-1-tables-headers-id-correct.md b/_drafts/outdated/SC1-3-1-tables-headers-id-correct.md similarity index 100% rename from _drafts/SC1-3-1-tables-headers-id-correct.md rename to _drafts/outdated/SC1-3-1-tables-headers-id-correct.md diff --git a/_drafts/SC1-3-1-tables-headers-id-valid.md b/_drafts/outdated/SC1-3-1-tables-headers-id-valid.md similarity index 100% rename from _drafts/SC1-3-1-tables-headers-id-valid.md rename to _drafts/outdated/SC1-3-1-tables-headers-id-valid.md diff --git a/_drafts/SC1-3-1-tables-headers-id.md b/_drafts/outdated/SC1-3-1-tables-headers-id.md similarity index 100% rename from _drafts/SC1-3-1-tables-headers-id.md rename to _drafts/outdated/SC1-3-1-tables-headers-id.md diff --git a/_drafts/SC1-3-1-tables-layout.md b/_drafts/outdated/SC1-3-1-tables-layout.md similarity index 100% rename from _drafts/SC1-3-1-tables-layout.md rename to _drafts/outdated/SC1-3-1-tables-layout.md diff --git a/_drafts/SC1-4-1-a.md b/_drafts/outdated/SC1-4-1-a.md similarity index 100% rename from _drafts/SC1-4-1-a.md rename to _drafts/outdated/SC1-4-1-a.md diff --git a/_drafts/SC1-4-1-link-style-in-text.md b/_drafts/outdated/SC1-4-1-link-style-in-text.md similarity index 100% rename from _drafts/SC1-4-1-link-style-in-text.md rename to _drafts/outdated/SC1-4-1-link-style-in-text.md diff --git a/_drafts/SC1-4-3-text-bg-contrast.md b/_drafts/outdated/SC1-4-3-text-bg-contrast.md similarity index 100% rename from _drafts/SC1-4-3-text-bg-contrast.md rename to _drafts/outdated/SC1-4-3-text-bg-contrast.md diff --git a/_drafts/SC2-2-2-pause-stop-hide.md b/_drafts/outdated/SC2-2-2-pause-stop-hide.md similarity index 100% rename from _drafts/SC2-2-2-pause-stop-hide.md rename to _drafts/outdated/SC2-2-2-pause-stop-hide.md diff --git a/_drafts/SC2-4-2-titles-across-pages.md b/_drafts/outdated/SC2-4-2-titles-across-pages.md similarity index 100% rename from _drafts/SC2-4-2-titles-across-pages.md rename to _drafts/outdated/SC2-4-2-titles-across-pages.md diff --git a/_drafts/SC2-4-4+SC4-1-2-anchors-have-names.md b/_drafts/outdated/SC2-4-4+SC4-1-2-anchors-have-names.md similarity index 100% rename from _drafts/SC2-4-4+SC4-1-2-anchors-have-names.md rename to _drafts/outdated/SC2-4-4+SC4-1-2-anchors-have-names.md diff --git a/_drafts/SC2-4-4+SC4-1-2-link-names.md b/_drafts/outdated/SC2-4-4+SC4-1-2-link-names.md similarity index 100% rename from _drafts/SC2-4-4+SC4-1-2-link-names.md rename to _drafts/outdated/SC2-4-4+SC4-1-2-link-names.md diff --git a/_drafts/SC2-4-4-Link Purpose.md b/_drafts/outdated/SC2-4-4-Link Purpose.md similarity index 100% rename from _drafts/SC2-4-4-Link Purpose.md rename to _drafts/outdated/SC2-4-4-Link Purpose.md diff --git a/_drafts/SC2-4-4-image-map.md b/_drafts/outdated/SC2-4-4-image-map.md similarity index 100% rename from _drafts/SC2-4-4-image-map.md rename to _drafts/outdated/SC2-4-4-image-map.md diff --git a/_drafts/SC2-4-5-multiple-ways.md b/_drafts/outdated/SC2-4-5-multiple-ways.md similarity index 100% rename from _drafts/SC2-4-5-multiple-ways.md rename to _drafts/outdated/SC2-4-5-multiple-ways.md diff --git a/_drafts/SC2-4-7-visible-link-focus.md b/_drafts/outdated/SC2-4-7-visible-link-focus.md similarity index 100% rename from _drafts/SC2-4-7-visible-link-focus.md rename to _drafts/outdated/SC2-4-7-visible-link-focus.md diff --git a/_drafts/SC3-2-2-form-no-submit.md b/_drafts/outdated/SC3-2-2-form-no-submit.md similarity index 100% rename from _drafts/SC3-2-2-form-no-submit.md rename to _drafts/outdated/SC3-2-2-form-no-submit.md diff --git a/_drafts/SC3-2-2-form-submit.md b/_drafts/outdated/SC3-2-2-form-submit.md similarity index 100% rename from _drafts/SC3-2-2-form-submit.md rename to _drafts/outdated/SC3-2-2-form-submit.md diff --git a/_drafts/SC3-2-2-input-select.md b/_drafts/outdated/SC3-2-2-input-select.md similarity index 100% rename from _drafts/SC3-2-2-input-select.md rename to _drafts/outdated/SC3-2-2-input-select.md diff --git a/_drafts/SC3-2-3-navigational-links-across-pages.md b/_drafts/outdated/SC3-2-3-navigational-links-across-pages.md similarity index 100% rename from _drafts/SC3-2-3-navigational-links-across-pages.md rename to _drafts/outdated/SC3-2-3-navigational-links-across-pages.md diff --git a/_drafts/SC4-1-1-accesskey.md b/_drafts/outdated/SC4-1-1-accesskey.md similarity index 100% rename from _drafts/SC4-1-1-accesskey.md rename to _drafts/outdated/SC4-1-1-accesskey.md diff --git a/_drafts/SC4-1-1-unique-attrs.md b/_drafts/outdated/SC4-1-1-unique-attrs.md similarity index 100% rename from _drafts/SC4-1-1-unique-attrs.md rename to _drafts/outdated/SC4-1-1-unique-attrs.md diff --git a/_drafts/SC4-1-2-frame.md b/_drafts/outdated/SC4-1-2-frame.md similarity index 100% rename from _drafts/SC4-1-2-frame.md rename to _drafts/outdated/SC4-1-2-frame.md diff --git a/_drafts/SC4-1-2-user-input.md b/_drafts/outdated/SC4-1-2-user-input.md similarity index 100% rename from _drafts/SC4-1-2-user-input.md rename to _drafts/outdated/SC4-1-2-user-input.md diff --git a/_layouts/algorithm.html b/_layouts/algorithm.html new file mode 100644 index 00000000000..5fe8ba65c73 --- /dev/null +++ b/_layouts/algorithm.html @@ -0,0 +1,7 @@ +--- +layout: default +--- + +{{ content }} + + \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 0b7bc002cd2..d9cbc949847 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -3,22 +3,14 @@
{% if page.layout == 'rule' %} - - {% if page.rule_id != 'undefined' %} - {% assign page_title = page.rule_id | prepend: "Rule: " %} - {% else %} - {% assign page_title = page.name | prepend: "Rule: " %} - {% endif %} - + {% assign page_title = page.name | prepend: "Rule: " %} {% else %} {% if page.layout == 'testcase' %} - {% if page.rule_id != 'undefined' %} {% assign page_title = page.rule_id | prepend: "Test Cases for " %} {% else %} {% assign page_title = page.name | prepend: "Test Cases for " %} {% endif %} - {% else %} {% assign page_title = page.title %} {% endif %} @@ -174,9 +166,11 @@