Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Cloudflare Pages redirects file #2126

Merged
merged 1 commit into from
Mar 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ kramdown:

defaults:
- scope:
path: ""
path: ''
type: pages
values:
layout: "default"
layout: 'default'
og_type: article
type: article
category: "Others"
excerpt_separator: "<!--more-->"
category: 'Others'
excerpt_separator: '<!--more-->'
prism_languages: []

# Site info
Expand All @@ -63,3 +63,5 @@ title: Devhints.io cheatsheets
# https://help.github.com/articles/repository-metadata-on-github-pages/

repository: rstacruz/cheatsheets
include:
- _redirects
28 changes: 28 additions & 0 deletions _redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/brew /homebrew 301
/commander-js /commander.js 301
/css-animation /css#animation 301
/css-background /css#background 301
/css-font /css#fonts 301
/css-selectors /css#selectors 301
/date /datetime 301
/es2015 /es6 301
/es2016 /es6 301
/es2017 /es6 301
/es2018 /es6 301
/expect.js /expectjs 301
/factory_girl /factory_bot 301
/fetch /js-fetch 301
/flexbox /css-flexbox 301
/flowtype /flow 301
/gpgconf /gnupg 301
/gpg /gnupg 301
/gutom /ph-food-delivery 301
/handlebars-js /handlebars.js 301
/harvey-js /harvey.js 301
/immutable-js /immutable.js 301
/jade /pug 301
/jinja2 /jinja 301
/package.json /package-json 301
/package /package-json 301
/phoenix-ecto@1.3 /phoenix-ecto 301
/sh /bash 301