Skip to content

Commit

Permalink
Add Cloudflare Pages redirects file (#2126)
Browse files Browse the repository at this point in the history
  • Loading branch information
rstacruz authored Mar 24, 2024
1 parent 2ac6e0e commit 1c9e012
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 4 deletions.
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

0 comments on commit 1c9e012

Please sign in to comment.