Add Cloudflare Pages redirects file (#2126)

This commit is contained in:
Rico Sta. Cruz 2024-03-24 23:57:02 +11:00 committed by GitHub
parent 2ac6e0ed0c
commit 1c9e012802
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 34 additions and 4 deletions

View File

@ -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
@ -63,3 +63,5 @@ title: Devhints.io cheatsheets
# https://help.github.com/articles/repository-metadata-on-github-pages/
repository: rstacruz/cheatsheets
include:
- _redirects

28
_redirects Normal file
View File

@ -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