forked from sass/sass-site
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request sass#64 from oddbird/redirects
Implement remainder of redirects.
- Loading branch information
Showing
6 changed files
with
489 additions
and
498 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
- from: | ||
- /d/random-with-units | ||
- /documentation/breaking-changes/random-with-units | ||
- /d/color-units | ||
- /documentation/breaking-changes/color-units | ||
to: /documentation/breaking-changes/function-units | ||
- from: | ||
- /docs/yardoc/file.SASS_REFERENCE.html | ||
- /documentation/file.SASS_REFERENCE.html | ||
to: /documentation | ||
- from: | ||
- /docs/yardoc/file.SASS_CHANGELOG.html | ||
- /documentation/file.SASS_CHANGELOG.html | ||
to: https://github.com/sass/dart-sass/blob/main/CHANGELOG.md | ||
- from: | ||
- /docs/yardoc/file.INDENTED_SYNTAX.html | ||
- /documentation/file.INDENTED_SYNTAX.html | ||
- /docs/yardoc/file.SCSS_FOR_SASS_USERS.html | ||
- /documentation/file.SCSS_FOR_SASS_USERS.html | ||
to: /documentation/syntax | ||
- from: | ||
- /docs/yardoc/Sass/Script/Functions.html | ||
- /documentation/Sass/Script/Functions.html | ||
- /docs/yardoc/functions.html | ||
- /documentation/functions.html | ||
to: /documentation/modules | ||
- from: | ||
- /docs/yardoc/functions/css.html | ||
- /documentation/functions/css.html | ||
to: /documentation/at-rules/function/#plain-css-functions |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
permalink: '/_redirects' | ||
eleventyExcludeFromCollections: true | ||
--- | ||
/feed /feed.xml 200 | ||
/sitemap /sitemap.xml 200 | ||
/tutorial /guide | ||
/download /install | ||
/try https://www.sassmeister.com | ||
/about / | ||
|
||
/blog/posts/560719 /blog/dropping-support-for-old-ruby-versions | ||
/blog/posts/1305238 /blog/dart-sass-is-on-chocolatey | ||
/blog/posts/1404451 /blog/sass-and-browser-compatibility | ||
/blog/posts/1909151 /blog/dart-sass-is-in-beta | ||
/blog/posts/7081811 /blog/ruby-sass-is-deprecated | ||
|
||
{% for r in redirects -%} | ||
{%- for from in r.from %} | ||
{%- for to in r.to %} | ||
{{ from }} {{ to }} | ||
{%- endfor -%} | ||
{%- endfor -%} | ||
{%- endfor %} | ||
|
||
{%- assign mods = 'color list map math meta selector string' | split: ' ' -%} | ||
{%- for mod in mods %} | ||
/docs/yardoc/functions/{{ mod }}.html /documentation/modules/{{ mod }}/ | ||
/documentation/functions/{{ mod }}.html /documentation/modules/{{ mod }}/ | ||
{%- endfor -%} | ||
|
||
{%- assign breaking = 'bogus-combinators css-vars duplicate-var-flags extend-compound function-units media-logic moz-document slash-div strict-unary' | split: ' ' -%} | ||
{%- for b in breaking %} | ||
/d/{{ b }}.html /documentation/breaking-changes/{{ b }}/ | ||
{%- endfor -%} |
Oops, something went wrong.